CVE-2024-51442
High · 8.8CVSS
8.8
EPSS
2.3%
Published
Jan 8, 2025
CISA due date
—
Cloudanix analysis
A settings file handling issue in media server software lets attackers run any commands they choose on the device if they can supply a malicious configuration.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows execution of arbitrary operating system commands by injecting payloads into the minidlna.conf configuration file that are processed without sanitization.
Why it matters to the business
Enables attackers to compromise media server hosts, resulting in potential data exposure, service disruption, or lateral movement within networks where minidlna is deployed for media streaming.
How an attack unfolds
An attacker crafts a malicious minidlna.conf file embedding OS command payloads, then causes the minidlna service to parse and load the file, triggering command execution on the underlying host.
How to fix it
Upgrade minidlna to a version newer than v1.3.3. Ensure configuration files originate only from trusted, controlled sources and implement file integrity monitoring on minidlna.conf.
How to confirm the fix worked
Confirm the running minidlna version exceeds v1.3.3, review configuration loading paths for untrusted sources, and test with a benign configuration to verify absence of injection behavior.
Typical attack path
- Locate an exposed or accessible minidlna installation
- Create a specially crafted minidlna.conf containing command injection syntax
- Position the file so the service loads it during startup or reload
- Trigger configuration parsing to execute injected commands
How to detect it
Examine minidlna.conf files and startup logs for unusual characters or embedded commands; review system process logs for the minidlna binary spawning unexpected shells or utilities.
- minidlna.conf containing sequences such as ;|&` or $(
- minidlna process spawning child processes like /bin/sh or /bin/bash
- unexpected file modifications to minidlna.conf followed by service reload
What your security team should do
- Prioritize upgrading all minidlna instances to a patched release
- Restrict write access to minidlna.conf to authorized administrators only
- Enable logging of configuration loads and child process spawns from the minidlna binary
- Audit network-exposed minidlna deployments for exposure
The record
Command Injection in Minidlna version v1.3.3 and before allows an attacker to execute arbitrary OS commands via a specially crafted minidlna.conf configuration file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | minidlna | 0 | No fix |
| Debian:12 | minidlna | 0 | No fix |
| Debian:13 | minidlna | 0 | No fix |
| Debian:14 | minidlna | 0 | No fix |
| Ubuntu:20.04:LTS | minidlna | 0 | No fix |
| Ubuntu:22.04:LTS | minidlna | 0 | No fix |
| Ubuntu:24.04:LTS | minidlna | 0 | No fix |
| Ubuntu:24.10 | minidlna | 0 | No fix |
| Ubuntu:25.04 | minidlna | 0 | No fix |
| Ubuntu:25.10 | minidlna | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | minidlna | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | minidlna | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | minidlna | 0 | No fix |
Related vulnerabilities
- CVE-2023-33476 ReadyMedia (MiniDLNA) versions from 1.1.15 up to 1.3.2 is vulnerable to Buffer Overflow. Also affects minidlna
- CVE-2022-26505 A DNS rebinding issue in ReadyMedia (formerly MiniDLNA) before 1.3.1 allows a remote web… Also affects minidlna
- CVE-2020-28926 ReadyMedia (aka MiniDLNA) before versions 1.3.0 allows remote code execution. Also affects minidlna
- CVE-2026-114575 A flaw has been found in TOTOLINK A950RG 4.1.2cu.5268_B20221104. CWE-77
- CVE-2026-112942 launch-editor allows users to open files with line numbers in editor from Node.js. CWE-77
- CVE-2026-55453 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-77
- CVE-2026-102827 simple-git, an interface for running git commands in any node.js application, enables… CWE-77
- CVE-2026-102826 simple-git, an interface for running git commands in any node.js application, enables… CWE-77