Apartment Visitors Management System
cpe:2.3:a:apartment_visitor_management_system_project:apartment_visitor_management_system:*:*:*:*:*:*:*
- 1.1
A SQL injection vulnerability has been identified in the Apartment Visitors Management System (AVMS) version 1.1. The issue resides in the 'contactno' parameter on the forgot password page ('forgot-password.php'). This vulnerability allows an unauthenticated attacker to manipulate SQL queries in the backend, potentially leading to unauthorized access to sensitive database information.
Exploitation of this vulnerability could result in unauthorized access to database contents, allowing attackers to retrieve sensitive information.
To reproduce this vulnerability, navigate to the 'forgot-password.php' page of the Apartment Visitors Management System. In the 'contactno' parameter, input a crafted SQL payload that exploits the application's SQL query handling. This can be done using a tool like Burp Suite to intercept and modify the request before it is sent to the server. Once the payload is injected, the application may inadvertently disclose database information, demonstrating the SQL injection vulnerability.
It is recommended to use prepared statements or parameterized queries to prevent SQL injection vulnerabilities. Additionally, all user inputs should be validated and sanitized before processing. Output encoding should be applied to user-controlled data to mitigate the risk of injection attacks.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.