Twonky Server 8.5.2 Unauthenticated `/nmc/rpc/` Auth Bypass & Admin Credential Log Leak (CVE-2025-13315)
by 0xBlackash (PoC/template); vulnerability discovered by Rapid7 · 2026-07-06
- Severity
- Critical
- CVE
- CVE-2025-13315
- Category
- network
- Affected product
- Twonky Server (Lynx Technology), a DLNA/UPnP media server
- Affected versions
- 8.5.2 (Linux & Windows builds); per source repository, no official patch is available
- Disclosed
- 2026-07-06
- Patch status
- unpatched
Tags
References
Archive entry
intelseclab/poc-archiveMetadata
| Field | Value |
|---|---|
| Date Added | 2026-07-06 |
| Last Updated | 2026-07-06 |
| Author / Researcher | 0xBlackash (PoC/template); vulnerability discovered by Rapid7 |
| CVE / Advisory | CVE-2025-13315 |
| Category | network |
| Severity | Critical |
| CVSS Score | 9.8 (per NVD; the source repo cites CVSS v4.0 9.3 — see Notes) |
| Status | PoC |
| Tags | twonky-server, dlna, upnp, media-server, auth-bypass, access-control, information-disclosure, credential-leak, cwe-284, unauthenticated, nuclei |
| Related | CVE-2025-13316 (hardcoded Blowfish encryption key used to decrypt the leaked password) |
Affected Target
| Field | Value |
|---|---|
| Software / System | Twonky Server (Lynx Technology), a DLNA/UPnP media server |
| Versions Affected | 8.5.2 (Linux & Windows builds); per source repository, no official patch is available |
| Language / Platform | PoC written in Python 3 (requests) plus a Nuclei YAML template; target itself is a native Twonky Server binary on Linux/Windows |
| Authentication Required | No |
| Network Access Required | Yes (HTTP access to the Twonky Server management interface) |
Summary
CVE-2025-13315 is a critical access-control flaw in Twonky Server 8.5.2 discovered by Rapid7: an earlier fix restricted unauthenticated access to the /rpc/ endpoint prefix, but the equivalent /nmc/rpc/ routing path was left unprotected, so privileged RPC methods remain reachable without authentication through that alternate path. In particular, GET /nmc/rpc/log_getfile returns the full application log, which contains the administrator’s username and Blowfish-encrypted password (accessuser=/accesspwd= lines). Combined with CVE-2025-13316 (hardcoded Blowfish encryption keys), an attacker can decrypt these credentials and obtain full administrative control of the media server, including all stored media and the ability to reconfigure or shut down the device. The vendor has stated no patch is currently available.
Vulnerability Details
Root Cause
Twonky Server enforces authentication on RPC calls made through the /rpc/ path prefix, but the same privileged handlers (including log_getfile) are also reachable through an alternate /nmc/rpc/ prefix that was never wired up to the same auth check — a classic alternate-path/forgotten-endpoint access-control bypass (CWE-284: Improper Access Control). The Nuclei template in this repo targets both paths:
| |
Attack Vector
- Attacker sends an unauthenticated
GET /nmc/rpc/log_getfilerequest to the target Twonky Server instance. - Because the
/nmc/rpc/prefix bypasses the authentication check that guards/rpc/, the server returns HTTP 200 with the full application log body (often hundreds of KB). - The log body contains lines such as
accessuser=adminandaccesspwd=<encrypted_password>(Blowfish-encrypted), along with other operational log data. - The attacker extracts the
accessuser/accesspwdvalues from the response using simple keyword/regex matching. - Using the hardcoded Blowfish key from the paired vulnerability CVE-2025-13316, the attacker decrypts
accesspwdto recover the plaintext admin password. - The attacker logs in as administrator, gaining full control over the media server (browse/modify/delete media, change configuration, or shut the server down).
Impact
- Leak of the administrator username and encrypted password from an unauthenticated request.
- Full administrator takeover of the media server when chained with CVE-2025-13316.
- Complete control over all stored/indexed media files.
- Remote server shutdown or reconfiguration, and potential downstream data exfiltration or ransomware deployment on connected storage.
Environment / Lab Setup
Target: Twonky Server 8.5.2 (Linux or Windows), management/API interface reachable over HTTP (default port 9000)
Attacker: Python 3 with `requests` (pip install requests), or Nuclei (for CVE-2025-13315.yaml template)
Proof of Concept
PoC Script
See
CVE-2025-13315.py(Python PoC) andCVE-2025-13315.yaml(Nuclei template) in this folder.
| |
Detection & Indicators of Compromise
GET /nmc/rpc/log_getfile HTTP/1.1
Host: <target>
-> HTTP/1.1 200 OK
Body: large (~100KB+) application log containing
accessuser=admin
accesspwd=<blowfish-encrypted-hex>
Signs of compromise:
- Inbound unauthenticated
GETrequests to/nmc/rpc/log_getfileor other/nmc/rpc/*paths in web server / reverse proxy logs. - Unusually large (tens to hundreds of KB) 200 OK responses to requests that never presented credentials.
- Subsequent successful admin logins from unfamiliar source IPs shortly after such a request.
- Unexpected changes to media library configuration or unexplained server shutdowns/restarts.
Remediation
| Action | Detail |
|---|---|
| Primary fix | No official patch identified at time of mirroring — Lynx Technology has stated no fix is planned; monitor vendor channels for an update. |
| Interim mitigation | Place Twonky Server behind a reverse proxy/WAF and explicitly block /nmc/rpc/* (especially /nmc/rpc/log_getfile); never expose the management interface directly to the internet; rotate the admin password if the interface may have been reachable; consider migrating to an actively maintained DLNA/UPnP media server (e.g., Jellyfin, Plex, Emby). |
References
Notes
Mirrored from https://github.com/0xBlackash/CVE-2025-13315 on 2026-07-06. Consists of CVE-2025-13315.py plus a Nuclei YAML template targeting the Twonky Server auth-bypass endpoint; templated in presentation but the underlying request/extraction logic is real and functional. The repository’s own README cites a CVSS v4.0 score of 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H); this entry lists 9.8 per the archive’s tracked NVD figure — treat the exact numeric score as approximate pending direct NVD confirmation.
| |