Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess forgot-password.php via HTTP
-
DeliveryInject SQL payload in email parameter
-
ExploitDatabase executes malicious query
-
ExecutionExtract user credentials and visitor data
-
ImpactAuthenticate as admin using stolen credentials
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 | Vulnerability affects the forgot-password.php password recovery feature specifically - exploitation requires this functionality to be accessible, which is typically enabled by default in standard installations. Attack succeeds against default configurations with no special deployment prerequisites: the forgot-password page is designed for unauthenticated public access (password recovery workflows inherently allow anonymous users). No user interaction required (UI:N) - attackers send malicious HTTP POST requests directly. No authentication required (PR:N per CVSS vector) - explicitly confirmed as unauthenticated attack vector. Exploitation limited only by network accessibility: if forgot-password.php is reachable via HTTP/HTTPS (typical for internet-facing installations), the system is vulnerable. Organizations restricting admin panel access to internal networks or VPNs are protected; those allowing public internet access to password recovery are at immediate risk. |
| Impact | Real-world risk is MODERATE despite the 7.5 CVSS score, but highly context-dependent on deployment exposure. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates trivial remote exploitation requiring zero authentication or interaction - any attacker can inject SQL via a simple HTTP request. The confidentiality impact is HIGH (C:H), enabling extraction of entire user databases including credentials, personal data, and visitor records. However, several factors moderate urgency: (1) Limited deployment footprint - this appears to be a niche PHP application from an educational resource site rather than enterprise software; (2) No CISA KEV listing suggests no confirmed widespread or targeted exploitation campaigns; (3) EPSS data unavailable, preventing exploitation probability assessment; (4) The GitHub reference 'Apartment-Visitors-Management-System-CVEs' (plural) suggests researcher disclosure rather than active attacker tooling, though POC code may exist. CRITICAL CAVEAT: If this system is internet-facing and manages visitor access control for physical facilities (apartment buildings, offices), the integrity and availability implications extend beyond the CVSS scope - attackers could manipulate visitor records to facilitate unauthorized physical access, a risk not captured in the C:H/I:N/A:N vector. SSVC assessment: exploitation likely automatable (blind SQLi scanners), technical impact significant (data exfiltration), but deployment prevalence appears limited. Priority depends on whether your organization uses this specific application and whether it's publicly accessible. |
| Exploit ScenarioDerived | An unauthenticated attacker navigates to the publicly accessible forgot-password.php page and submits a crafted email parameter containing SQL injection payload (e.g., admin@example.com' UNION SELECT username,password,email,NULL,NULL FROM tbl_users--). The vulnerable application constructs an unsafe SQL query concatenating the malicious input, causing the database to return all user credentials instead of processing a legitimate password reset. The attacker extracts administrator credentials, visitor records, and potentially apartment resident data from the MySQL database through iterative injection techniques or automated SQLmap exploitation. Publicly available exploit code referenced in the GitHub CVE repository may lower the technical barrier, enabling script-kiddie-level attacks. |
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 user data via the forgot-password.php email parameter. The vulnerability requires no authentication (PR:N), no user interaction (UI:N), and has low attack complexity (AC:L), enabling trivial exploitation against any internet-facing installation. EPSS data unavailable; not listed in CISA KEV. GitHub repository references suggest proof-of-concept code may exist, increasing immediate exploitation risk for the small but vulnerable user base of this PHP-based application.
RemediationAI
No vendor-released patch identified at time of analysis - PHPGurukul has not published a fixed version via their download page or product announcements. Organizations using version 1.1 should immediately apply these compensating controls: (1) Remove public internet access to forgot-password.php by implementing IP allowlisting or VPN-only access to the entire admin/password-recovery section; trade-off is reduced user self-service capability. (2) Deploy a web application firewall (WAF) with SQL injection signature detection targeting the email parameter in POST requests to forgot-password.php; configure to block rather than just alert; risk of false positives requires testing. (3) Input validation: manually patch the code by implementing prepared statements/parameterized queries for the email lookup in forgot-password.php (consult https://www.php.net/manual/en/mysqli.quickstart.prepared-statements.php); requires PHP development expertise and introduces code maintenance burden. (4) Database privilege restriction: ensure the MySQL user account used by the application has SELECT-only permissions on user tables, preventing attackers from using UNION-based injection to access other schemas; does not prevent data exfiltration but limits lateral database movement. Monitor https://github.com/efekaanakkar/Apartment-Visitors-Management-System-CVEs/ for researcher updates or patches, and check PHPGurukul download page for version updates beyond 1.1.
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 vulnerability affects a PHP/MySQL-based visitor management application distributed by PHPGurukul. The flaw is a classic SQL injection (CWE-89) in the password recovery workflow, where user-supplied input from the 'email' parameter in forgot-password.php is insufficiently sanitized before being incorporated into SQL queries. The affected product appears to be a downloadable open-source application (download ID 21524 from phpgurukul.com), typical of educational/small-business systems that may lack secure coding practices like prepared statements or parameterized queries. The CPE string contains placeholder values (n/a:n/a), indicating limited formal product classification, which is common for smaller open-source projects without vendor CVE coordination. The CVSS vector confirms network-based exploitation requiring no privileges, making it accessible to any remote attacker who can reach the forgot-password endpoint.
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:N/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 email parameter of the forgot password page (forgot-password.php). This allows an unauthenticated attacker to manipulate backend SQL queries and retrieve sensitive user data.
Executive ViewAI
Apartment Visitors Management System v1.1 contains an unauthenticated SQL injection vulnerability in the password reset function that allows attackers to extract sensitive user data without authentication or user interaction. Any organization running this application on internet-facing systems faces immediate risk of data breach affecting user records and credentials.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall rules to block SQL injection patterns in the email parameter of forgot-password.php; (2) Disable or remove internet-facing access to the password reset endpoint and restrict to internal networks only; (3) Apply input validation and parameterized queries at the application level if source code modifications are possible; (4) Monitor database access logs for suspicious queries; (5) Consider air-gapping the application until patched or replaced.
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-23920
GHSA-2mm2-ghgp-p33q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB