Skip to main content

PHP CVE-2025-39476

| EUVDEUVD-2025-17513 HIGH
PHP Remote File Inclusion (CWE-98)
2025-06-09 audit@patchstack.com
7.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS v3.1 vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H yields a 7.5 score. Breaking down the signal components: AV:N (network-accessible) and PR:N (no authentication required) are critical risk elevators, but AC:H (high complexity) and UI:R (requires user interaction) moderate exploitation difficulty. The high impact ratings (C:H/I:H/A:H) reflect potential confidentiality breaches, file modification, and denial of service. Without confirmed EPSS data, KEV listing, or public POC availability from this analysis, real-world exploitation risk appears moderate-to-high: the vulnerability is plausible and impacts a web-accessible application, but the AC:H and UI:R factors suggest attackers must craft specific payloads and potentially social-engineer users into clicking malicious links. Organizations running Revo 4.0.26 or earlier should prioritize patching, especially if exposed to untrusted networks. This is not a wormable vulnerability (due to UI:R) but remains a valid attack surface for targeted campaigns.

Exploit ScenarioDerived

An attacker discovers that a Revo-based OpenCart store exposes a vulnerable parameter—e.g., ?page=/path/to/file—that is directly passed to a PHP include() statement without validation. The attacker crafts a malicious URL: https://victim-store.com/index.php?page=../../../../etc/passwd (or a URL-encoded variant). Due to AC:H, the attacker may need to bypass basic filters or exploit a specific application logic path (e.g., a specific module or function call). The UI:R requirement means the attacker might need to trick an administrator or user into clicking the link, or exploit the vulnerability through a workflow that an authenticated user naturally triggers. Upon successful exploitation, the attacker reads sensitive files (e.g., /etc/passwd, database configuration files containing credentials), or if combined with log poisoning or file upload, achieves code execution to steal data or deface the store. A realistic scenario: attacker sends a phishing email to the store owner with a link to a malicious page parameter; clicking the link triggers the LFI, exposing database credentials that the attacker then uses to breach the backend. No confirmed public POC is noted here, but community researchers will likely develop one post-disclosure.

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 – Mar 14, 2026

PHP Local File Inclusion (LFI) vulnerability in magentech Revo versions up to 4.0.26 that allows unauthenticated remote attackers to include and execute arbitrary local files through improper control of filename parameters in PHP include/require statements. An attacker can exploit this to read sensitive files, execute code, or compromise the affected system; the vulnerability requires user interaction (UI:R) but carries high impact across confidentiality, integrity, and availability. While no public exploit code or KEV status is currently confirmed in available intelligence, the combination of network accessibility, high CVSS score (7.5), and file inclusion primitives makes this a notable risk for unpatched Revo installations.

RemediationAI

  1. Immediate patching: Update magentech Revo to version 4.0.27 or later (assuming the next release after 4.0.26 contains the fix; verify with magentech's official advisory). 2. Workarounds pending patch: Implement strict input validation on all file path parameters—maintain an allowlist of permissible file paths and reject any input deviating from expected patterns. Use PHP's basename() function to strip directory traversal sequences, and employ realpath() to validate that resolved paths remain within safe directories. 3. Web Application Firewall (WAF) rules: Deploy WAF signatures to block common LFI payloads (e.g., patterns containing ../, %2e%2e%2f, or null bytes). 4. Least privilege: Run the PHP application (Apache/Nginx) under a low-privilege user account to limit the scope of file access. 5. Disable dangerous PHP functions: Disable allow_url_include and allow_url_fopen in php.ini to prevent remote file inclusion vectors. 6. Monitor logs: Audit access logs for suspicious file path parameters and evidence of exploitation attempts. 7. Vendor advisory: Check magentech's official support site or security advisories for patched version details and deployment instructions.

Affected VersionsENISA

Revo n/a ≤4.0.26

Affected Packages

euvd revo no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits a classic PHP file inclusion flaw rooted in CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). The affected magentech Revo application (an OpenCart-based e-commerce platform) fails to properly sanitize user-supplied input before passing it to PHP's include(), require(), include_once(), or require_once() functions. The underlying mechanism allows attackers to manipulate file path parameters—typically in GET or POST parameters—to reference files outside the intended directory structure. In LFI contexts, this enables reading of /etc/passwd, configuration files containing credentials, application source code, or log files. If combined with file upload functions or log poisoning, LFI can escalate to Remote Code Execution (RCE). The CWE-98 classification indicates the root cause is insufficient input validation and allowlist/blocklist failures on file references.

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:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in magentech Revo allows PHP Local File Inclusion. This issue affects Revo: from n/a through 4.0.26.

Executive ViewAI

Why It Matters

A critical file inclusion vulnerability in Magento Revo (versions through 4.0.26) allows attackers to access sensitive files on affected systems, potentially leading to data exposure, credential theft, or system compromise. Organizations running vulnerable versions of this e-commerce platform face immediate risk of unauthorized access and data breach without available vendor patches.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to detect and block common file inclusion payloads (e.g., patterns containing 'php://', 'file://', '../'); restrict file upload functionality and validate all user inputs strictly; disable remote file inclusion in PHP configuration (set allow_url_fopen=Off and allow_url_include=Off); apply network segmentation to limit attacker lateral movement; implement integrity monitoring on critical PHP files; enable verbose logging of file access attempts; consider restricting access to Revo administration panels to whitelisted IP addresses only.

Threat Intelligence Overview

EPSS Score
0.1%
Top 66% exploitable
Data Quality
4 sources
Confidence: Medium

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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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