Bug 2336676 (CVE-2024-51442)

Summary: CVE-2024-51442 minidlna: Minidlna: Command Injection via minidlna.conf configuration file
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rgatica
Target Milestone: ---Keywords: Security
Target Release: ---Flags: dominik: needinfo? (rgatica)
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in minidlna. This vulnerability allows an attacker to execute arbitrary operating system (OS) commands via a specially crafted minidlna.conf configuration file.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2336839, 2336840, 2336841    
Bug Blocks:    

Description OSIDB Bzimport 2025-01-09 17:45:36 UTC
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.

Comment 2 Dominik 'Rathann' Mierzejewski 2025-01-11 21:46:37 UTC
What is this, a joke? If you can modify /etc/minidlna.conf, you have root on the system already:

$ ls -ld /etc/minidlna.conf 
-rw-r--r--. 1 root root 4374 May 28  2024 /etc/minidlna.conf

This seems to be the upstream "report":
https://sourceforge.net/p/minidlna/bugs/364/

And "proof of concept":
https://github.com/mselbrede/CVE-2024-51442