Security Vulnerability Report
中文
CVE-2025-12466 CVSS 7.5 HIGH

CVE-2025-12466

Published: 2025-10-30 00:15:35
Last Modified: 2025-12-04 14:57:27

Description

Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass.This issue affects Simple OAuth (OAuth2) & OpenID Connect: from 6.0.0 before 6.0.7.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:simple_oauth_project:simple_oauth:*:*:*:*:*:drupal:*:* - VULNERABLE
Drupal Simple OAuth (OAuth2) & OpenID Connect 6.0.0 - 6.0.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12466 - Drupal Simple OAuth Authentication Bypass PoC # This PoC demonstrates the vulnerability concept (for defensive purposes only) import requests import json TARGET_URL = "https://vulnerable-drupal-site.com" CLIENT_ID = "your_client_id" CLIENT_SECRET = "your_client_secret" def check_vulnerability(): """Check if target is vulnerable to CVE-2025-12466""" # Note: Actual exploitation requires specific OAuth2 implementation details # This is a placeholder for defensive scanning purposes endpoints = [ f"{TARGET_URL}/oauth/authorize", f"{TARGET_URL}/oauth/token", f"{TARGET_URL}/user/login?_format=json" ] for endpoint in endpoints: try: response = requests.get(endpoint, timeout=10) # Check for authentication bypass indicators if response.status_code == 200: print(f"Endpoint accessible: {endpoint}") except requests.RequestException as e: print(f"Error accessing {endpoint}: {e}") def main(): print("CVE-2025-12466 Vulnerability Checker") print("Target: Drupal Simple OAuth < 6.0.7") check_vulnerability() if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12466", "sourceIdentifier": "[email protected]", "published": "2025-10-30T00:15:34.777", "lastModified": "2025-12-04T14:57:27.470", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authentication Bypass Using an Alternate Path or Channel vulnerability in Drupal Simple OAuth (OAuth2) & OpenID Connect allows Authentication Bypass.This issue affects Simple OAuth (OAuth2) & OpenID Connect: from 6.0.0 before 6.0.7."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-288"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:simple_oauth_project:simple_oauth:*:*:*:*:*:drupal:*:*", "versionStartIncluding": "6.0.0", "versionEndExcluding": "6.0.7", "matchCriteriaId": "53BDBFB7-8E88-4C2D-AB7E-A1508EC16B42"}]}]}], "references": [{"url": "https://www.drupal.org/sa-contrib-2025-114", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}]}}