CVE-2024-39148
Published: 01 December 2025
Description
The service wmp-agent of KerOS prior 5.12 does not properly validate so-called ‘magic URLs’ allowing an unauthenticated remote attacker to execute arbitrary OS commands as root when the service is reachable over network. Typically, the service is protected via local…
more
firewall.
Mitigating Controls (NIST 800-53 r5)AI
Directly addresses the improper validation of magic URLs by requiring information input validation mechanisms to prevent code injection attacks.
Mandates timely flaw remediation through patching to KerOS 5.12 or later, eliminating the vulnerability at its source.
Enforces boundary protection via firewalls to restrict network access to the wmp-agent service, preventing remote exploitation.
Security SummaryAI
CVE-2024-39148 is a code injection vulnerability (CWE-94) in the wmp-agent service of KerOS versions prior to 5.12. The flaw arises from improper validation of so-called "magic URLs," enabling an unauthenticated remote attacker to execute arbitrary OS commands as root when the service is reachable over the network. The service is typically protected by a local firewall, and the vulnerability carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting high attack complexity but severe potential impacts on confidentiality, integrity, and availability.
An unauthenticated attacker can exploit this vulnerability remotely by sending a specially crafted "magic URL" to the exposed wmp-agent service, bypassing validation and achieving arbitrary root-level command execution on the target system. Exploitation requires network access to the service, which is not the default configuration due to firewall protections, and involves high complexity in crafting the payload.
Official mitigation guidance is available in the KerOS security advisory at https://keros.docs.kerlink.com/security/security_advisories_kerOS5 and the BDO Security advisory at https://www.bdosecurity.de/en-gb/advisories/cve-2024-39148. Affected systems should be upgraded to KerOS 5.12 or later, with continued reliance on local firewalls to restrict network access to the wmp-agent service.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE-2024-39148 enables unauthenticated remote code execution as root via crafted 'magic URL' in the network-accessible wmp-agent service (T1190: Exploit Public-Facing Application) and facilitates arbitrary OS command execution on the Unix-based KerOS (T1059.004: Unix Shell).