vendor:
Hostel Management System
by:
Selim Enes 'Enesdex' Karaduman
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Hostel Management System
Affected Version From: 2.0
Affected Version To: 2.0
Patch Exists: NO
Related CWE: N/A
CPE: a:phpgurukul:hostel_management_system:2.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10 - Wamp Server
2020
Hostel Management System 2.0 – ‘id’ SQL Injection (Unauthenticated)
The 'id' parameter's value is going into the SQL query directly, allowing an attacker to inject malicious SQL code. Proof of concept can be done using sqlmap or by adding a single quote to the URL.
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in an SQL query.