Skip to main content

PHP EUVDEUVD-2026-23920

| CVE-2026-39111 HIGH
SQL Injection (CWE-89)
2026-04-20 mitre GHSA-2mm2-ghgp-p33q
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access forgot-password.php via HTTP
  2. Delivery
    Inject SQL payload in email parameter
  3. Exploit
    Database executes malicious query
  4. Execution
    Extract user credentials and visitor data
  5. Impact
    Authenticate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Apr 20, 2026 - 18:22 NVD
7.5 (HIGH)
CVE Published
Apr 20, 2026 - 00:00 nvd
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 79% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy