vendor:
Park Ticketing Management System
by:
gh1mau
7.5
CVSS
HIGH
Authentication Bypass
20
CWE
Product Name: Park Ticketing Management System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:phpgurukul:park_ticketing_management_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: PHP 5.6.18, Apache/2.4.18 (Win32), Ver 14.14 Distrib 5.7.11, for Win32 (AMD64)
2020
Park Ticketing Management System 1.0 – Authentication Bypass
Park Ticketing Management System 1.0 is vulnerable to authentication bypass due to lack of sanitization of the $adminuser variable in the index.php file. An attacker can exploit this vulnerability by sending a specially crafted POST request with the username set to ' or '1'='1'# and any password. This will bypass the authentication and allow the attacker to gain access to the application.
Mitigation:
Sanitize user input and use prepared statements to prevent SQL injection attacks.