4 matches found
CVE-2024-48990
CVE-2024-48990 概念验证 概述 Qualys 发现,版本 3.8 之前的 needrestart 允许本地攻击者通过诱使 needrestart 使用攻击者控制的 PYTHONPATH 环境变量运行 Python 解释器,从而以 root 权限执行任意代码。 本仓库包含针对 CVE-2024-48990 的 概念验证 PoC 漏洞利用程序 。 漏洞摘要 CVE ID: CVE-2024-48990 受影响组件: needrestart 漏洞类型: 本地权限提升 攻击向量: 本地 影响: 权限提升至 root 用法 root@kitploit: ./poc.sh...
CVE-2024-48990-PoC
CVE-2024-48990-PoC 什么是 needrestart 及其工作原理? Needrestart 是 Linux 系统上广泛使用的工具(默认安装在许多 Ubuntu 版本中),它在软件更新后检查是否有服务或系统本身需要重启。通过分析正在运行的进程,它判断这些进程是否使用了更新后的库,或者是否需要重启以使更改生效。 漏洞是如何工作的? 当 needrestart 检测到进程正在运行 Python 解释器时,它从 /proc/pid/environ 读取该进程关联的环境变量 PYTHONPATH,然后在启动自己的 Python 解释器进行分析之前设置该变量。...
EUVD-2012-5542
Malware in sbrugna...
The vulnerability of the needrestart utility, related to the uncontrolled element in the search process, allows a hacker to execute arbitrary code in the context of the root user.
The vulnerability of the needrestart utility is related to an uncontrolled element in the search process. Exploiting this vulnerability allows a malicious actor to execute arbitrary code in the context of the root user by manipulating the PYTHONPATH variable during Python initialization...