CVE-2024-11003
HIGHneedrestart < 3.8 - Local OS Command Injection via Modules::ScanDeps
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2024-11003. PoCs published by sychikov, unknown-user-from.
AI-analyzed exploit summary This PoC exploits CVE-2024-11003 in needrestart before version 3.8, where unsanitized input passed to Modules::ScanDeps allows local command execution. The exploit leverages a malicious configuration file to achieve root-level command execution when needrestart is run with sudo.
Description
Qualys discovered that needrestart, before version 3.8, passes unsanitized data to a library (Modules::ScanDeps) which expects safe input. This could allow a local attacker to execute arbitrary shell commands. Please see the related CVE-2024-10224 in Modules::ScanDeps.
Exploits (2)
This PoC exploits CVE-2024-11003 in needrestart before version 3.8, where unsanitized input passed to Modules::ScanDeps allows local command execution. The exploit leverages a malicious configuration file to achieve root-level command execution when needrestart is run with sudo.
This PoC exploits a vulnerability in needrestart by creating a malicious Perl script and replacing it with a bash binary to gain a shell. The exploit relies on needrestart's handling of executable files.
References (7)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H