Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess forgot-password.php page
-
DeliveryInject SQL payload in contactno parameter
-
ExploitDatabase executes crafted query
-
ExecutionExtract sensitive data from response
-
ImpactHarvest credentials and personal information
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Vulnerable instance of Apartment Visitors Management System v1.1 must be deployed and network-accessible. The forgot-password.php page must be reachable without authentication (default configuration per CVSS vector PR:N). The contactno parameter must be processed by vulnerable code that concatenates user input into SQL queries without parameterization. The underlying database must contain tables with exploitable data (user credentials, visitor records, personal information). No special configuration, authentication, or user interaction required - default installation with standard web server configuration is sufficient for exploitation. Attack surface is limited to organizations that deployed this specific PHPGurukul demonstration software in internet-facing or intranet production environments, which is expected to be relatively small given the educational nature of the source material. |
| Impact | Real-world risk is moderate despite the high CVSS score of 8.2. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates easily exploitable remote access without authentication, which is concerning. SSVC framework confirms proof-of-concept availability and automation potential, making this immediately testable and potentially incorporable into automated scanning tools. However, several factors mitigate practical risk: the target application appears to be an educational/demonstration project from phpgurukul.com with likely limited production deployment; the integrity impact is rated Low (I:L) suggesting write operations are constrained; availability impact is None (A:N) meaning service disruption is not a concern. The confidentiality impact is High (C:H), meaning attackers can extract substantial database contents including user credentials and personal information. No EPSS score available to assess wild exploitation probability. No CISA KEV listing suggests this is not observed in active campaigns targeting operational networks. Primary risk is to organizations that deployed this demonstration software in production environments without security hardening, or to similar custom-developed applications with identical coding patterns. |
| Exploit ScenarioDerived | An unauthenticated attacker navigates to the publicly accessible forgot-password.php page and enters a crafted SQL injection payload in the contactno form field, such as: ' OR '1'='1' UNION SELECT username,password,email FROM admin_users-- . The vulnerable application concatenates this input directly into a SQL query without sanitization, causing the database to return the entire admin_users table contents including password hashes. The attacker extracts these credentials, cracks weak password hashes offline, and gains administrative access to the application. Because the CVSS vector indicates AC:L (low attack complexity) and PR:N (no privileges required), this attack requires only basic SQL injection knowledge and standard web browser tools. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
SQL injection in Apartment Visitors Management System v1.1 allows unauthenticated remote attackers to extract sensitive database contents via the contactno parameter on the password reset page. The vulnerability bypasses authentication controls through crafted input during password recovery operations. EPSS and KEV data not available, but SSVC framework indicates proof-of-concept exists and the vulnerability is automatable with partial technical impact. The CVSS score of 8.2 reflects high confidentiality impact with network-accessible attack surface requiring no user interaction.
RemediationAI
Primary remediation requires code modification to implement parameterized queries or prepared statements with bound parameters for all database interactions in forgot-password.php, specifically for the contactno parameter handling. Since this appears to be demonstration software without formal vendor support or published security advisories, organizations must apply fixes directly in source code. Review the GitHub repository at https://github.com/efekaanakkar/Apartment-Visitors-Management-System-CVEs/ for potential community-developed patches or exploit details that inform remediation. If source modification is not immediately feasible, implement compensating controls: deploy web application firewall rules to block SQL injection patterns in the contactno parameter (though this introduces maintenance overhead and potential bypass risk); restrict access to forgot-password.php to trusted network ranges using web server access controls (reduces attack surface but impairs legitimate password recovery functionality); implement input validation that enforces strict phone number format requirements using allowlist patterns (reduces but does not eliminate SQL injection risk). For production environments, strongly consider replacing this application with actively maintained commercial or enterprise-grade visitor management software with established security track records.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic SQL injection vulnerability (CWE-89) in a PHP-based application where user-supplied input from the contactno parameter in forgot-password.php is insufficiently validated or sanitized before being incorporated into SQL queries. The vulnerable component appears to be a password recovery mechanism that queries the database using a phone number identifier. Insufficient input validation allows attackers to inject SQL metacharacters and additional SQL commands that alter the structure and logic of backend database queries. The application likely concatenates user input directly into SQL strings rather than using parameterized queries or prepared statements. CPE data indicates limited specificity (a:n/a:n/a), suggesting the vendor namespace is not formally registered in the NVD product dictionary. The application is distributed through phpgurukul.com as a learning/demonstration project.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
SQL Injection vulnerability in Apartment Visitors Management System Apartment Visitors Management System V1.1 in the contactno parameter of the forgot password page (forgot-password.php). This allows an unauthenticated attacker to manipulate backend SQL queries during authentication and retrieve sensitive database contents.
Executive ViewAI
Apartment Visitors Management System v1.1 contains an unauthenticated SQL injection vulnerability in the password reset function that enables attackers to extract sensitive database contents without credentials. This network-accessible flaw directly threatens customer personal information and authentication data, creating immediate risk to organizational liability and customer trust.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall (WAF) rules to block SQL metacharacters in the contactno parameter; (2) Apply strict input validation requiring only numeric characters for contactno field; (3) Restrict network access to password reset endpoint via IP allowlist or require VPN; (4) Enable database query logging and monitor for UNION SELECT and other SQL injection patterns; (5) Consider disabling password reset functionality until patched version is available; (6) Implement rate limiting on password reset requests to reduce automation feasibility.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-23919
GHSA-m39g-8x47-rrc5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB