Skip to main content

PHP CVE-2026-39109

| EUVDEUVD-2026-23918 CRITICAL
SQL Injection (CWE-89)
2026-04-20 mitre GHSA-mr7v-cwcf-gg84
9.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed login page via internet scanning
  2. Delivery
    Inject SQL payload into username parameter
  3. Exploit
    Bypass authentication via manipulated query
  4. Execution
    Access admin dashboard
  5. Persist
    Extract database contents via UNION injection
  6. Impact
    Exfiltrate resident and visitor data

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

Exploitation requires the Apartment Visitors Management System V1.1 login page (index.php) to be accessible over the network. No special configuration, non-default settings, or enabled features are required - the vulnerability exists in default installations. Attack succeeds against the standard authentication mechanism without requiring valid credentials, user interaction, or specific browser/client software. Limiting factors: Target must be running the specific vulnerable version (V1.1) from PHPGurukul; other forks or modified versions may not be affected. Exploitation is limited to environments where the PHP application has successfully established database connectivity, as injection targets the SQL backend. Systems behind corporate authentication gateways (SSO, SAML) or VPNs requiring pre-authentication are not directly exposed to internet-based attackers.

Impact

This presents critical real-world risk for exposed instances. CVSS 9.4 reflects network-based unauthenticated exploitation with no complexity barriers (AV:N/AC:L/PR:N/UI:N), allowing any internet attacker to compromise the system. SSVC framework confirms POC availability and automatable exploitation, meaning attackers can script mass scanning and exploitation. The 'partial' technical impact designation (S:U/C:H/I:H/A:L) indicates attackers gain high confidentiality and integrity impact (read/modify database) with limited availability impact. GitHub repository reference suggests active exploit development by security researchers. Primary risk factors: (1) Authentication bypass enables complete application takeover, (2) Database extraction exposes resident personal information and visitor logs, (3) Automatable nature enables mass exploitation via shodan/internet scanning, (4) Low-cost target base (small property management offices) often lacks security monitoring. Risk mitigation: No CISA KEV listing suggests exploitation not yet widespread in enterprise environments, but the application's niche deployment context and POC availability make targeted attacks highly probable. Organizations should treat as emergency-priority if system is internet-facing.

Exploit ScenarioDerived

Attacker discovers internet-exposed Apartment Visitors Management System via Shodan search for 'Apartment Visitors' in HTTP response bodies. Using publicly available POC code from GitHub, attacker submits crafted username like ' OR '1'='1'-- to the index.php login form, bypassing authentication to access admin dashboard. From the compromised admin panel, attacker uses UNION-based injection to extract tables containing resident names, apartment numbers, visitor logs with timestamps, and potentially staff credentials stored in cleartext. Attacker sells resident contact information to phishing/burglary operations or uses access to identify high-value targets based on frequent wealthy visitors.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% 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's login form allows remote unauthenticated attackers to bypass authentication and extract database contents via the username parameter. The vulnerability scores 9.4 CVSS with network attack vector and low complexity. Public exploit code exists (SSVC confirms POC status), making this immediately exploitable. EPSS data unavailable, but SSVC framework rates it as automatable with partial technical impact, indicating high practical risk for internet-exposed installations.

RemediationAI

No vendor-released patch identified at time of analysis - PHPGurukul references point to product pages, not security advisories. Primary mitigation: Immediately remove system from public internet access or decommission if alternative solutions exist. If continued operation is required, implement compensating controls with trade-offs: (1) Deploy web application firewall (WAF) with SQL injection signatures targeting the /index.php username parameter - reduces but does not eliminate risk as attackers may bypass signature-based detection; adds latency and management overhead. (2) Restrict access via IP allowlisting to known property management networks - effective only if user base has static IPs; breaks remote access workflows. (3) Place application behind VPN gateway requiring pre-authentication - most secure option but adds user friction and VPN infrastructure costs. (4) Monitor database query logs for SQL syntax in username fields (UNION, OR, --, /*) as detective control - generates alerts but does not prevent exploitation. Long-term: Migrate to commercially supported access control system with secure development lifecycle. Exploit code at https://github.com/efekaanakkar/Apartment-Visitors-Management-System-CVEs/ can be used for verification testing in isolated environment. Organizations should audit for unauthorized database access since initial deployment date.

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 is a classic SQL injection vulnerability (CWE-89) in a PHP-based web application's authentication mechanism. The login page (index.php) fails to properly sanitize or parameterize the username input before incorporating it into SQL queries. Attackers can inject malicious SQL syntax into the username field to manipulate the authentication query logic, typically bypassing login checks via always-true conditions (e.g., ' OR '1'='1) or using UNION-based injection to extract data from arbitrary database tables. The CPE string is generic (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*), indicating limited vendor cooperation with MITRE's enumeration process. The affected product is a PHP/MySQL-based apartment visitor tracking system distributed by PHPGurukul, a vendor known for educational/demonstration web applications often deployed in small business or academic environments without rigorous security review.

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 9.4 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

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
High
Availability
Low

Lifecycle Timeline

2
CVSS changed
Apr 20, 2026 - 19:22 NVD
9.4 (CRITICAL)
CVE Published
Apr 20, 2026 - 00:00 nvd
CRITICAL 9.4

DescriptionCVE.org

SQL Injection vulnerability in Apartment Visitors Management System Apartment Visitors Management System V1.1 within the username parameter of the login page (index.php). This allows an unauthenticated attacker to manipulate backend SQL queries during authentication and retrieve sensitive database contents.

Executive ViewAI

Why It Matters

Apartment Visitors Management System V1.1 contains a critical SQL injection vulnerability in the login form that allows unauthenticated attackers to bypass authentication and access the entire database without valid credentials. Organizations using this system face immediate risk of unauthorized data exposure and system compromise, particularly if the application is internet-facing or accessible to untrusted networks.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to the login form using firewall rules or VPN-only access; (2) Deploy Web Application Firewall with SQL injection detection rules targeting the username parameter; (3) Implement database-level privilege restrictions to limit data exposure if exploitation occurs; (4) Enable comprehensive audit logging of login attempts and database queries for forensic analysis; (5) Require immediate vendor communication regarding patch timeline or end-of-life status.

Threat Intelligence Overview

EPSS Score
0.2%
Top 62% 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Very High
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
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