146 matches found
-Linux-PrivEsc-CVE-2024-48990
Privesc-need-restart-2024-48990 Explicación del Exploit CVE-2024-48990 - Pure Python Este script explota la vulnerabilidad CVE-2024-48990 en la utilidad needrestart de Linux mediante el secuestro de la ruta de librerías PYTHONPATH hijacking. A diferencia del vector original, este método utiliza...
CVE-2024-48990
CVE-2024-48990 introducción Esta vulnerabilidad aprovecha la forma en que needrestart gestiona la variable de entorno; para ser más precisos, PYTHONPATH puede ser secuestrada modificando la variable PYTHONPATH para que apunte a un directorio que contenga una biblioteca maliciosa, logrando así...
CVE-2024-48990
CVE-2024-48990 の PoC CVE-2024-48990 は、needrestart ユーティリティに存在するローカル権限昇格の脆弱性です。この脆弱性は 3.8 より前のバージョンに存在します。パッケージインストールなどのイベント時に root として実行されるこのサービスは、実行中のすべてのプロセスを安全でない方法でスキャンします。Python プロセスを検出すると、そのプロセスの PYTHONPATH 環境変数を読み取り、信頼します。 権限のないローカル攻撃者は、「おとり」プロセスの PYTHONPATH を乗っ取ることができます。needrestart...
needrestart
needrestart About needrestart checks which daemons need to be restarted after library upgrades. It is inspired by checkrestart from the debian-goodies package. There are some hook scripts in the ex/ directory to be used with apt and dpkg. The scripts will call needrestart after any package...
needrestart
needrestart Acerca de needrestart comprueba qué demonios necesitan reiniciarse después de actualizaciones de bibliotecas. Está inspirado en checkrestart del paquete debian-goodies. Hay algunos scripts hook en el directorio ex/ para usar con apt y dpkg. Los scripts llamarán a needrestart después d...
CVE-2024-48990-Automatic-Exploit
CVE-2024-48990 PYTHONPATH ハイジャック - 権限昇格エクスプロイト このツールは、needrestart バージョン 3.7 における権限昇格の脆弱性(CVE-2024-48990 )の悪用を自動化します。 needrestart が Python プロセスをスキャンする際の PYTHONPATH 環境変数の安全でない使用を悪用して、root での実行を実現します。 概要 このエクスプロイトは以下の手順で動作します: 1. インポート時にトリガーされる悪意のある共有オブジェクト(init.so)をコンパイルする。 2. ローカル HTTP サーバー経由で .so...
CVE-2024-48990_needrestart
CVE-2024-48990 - Exploit de escalada de privilegios en Needrestart 3.7-3 Resumen Este repositorio contiene un exploit para CVE-2024-48990, una vulnerabilidad de escalada de privilegios en Needrestart 3.7-3. El exploit aprovecha un manejo inadecuado de la entrada para ejecutar código arbitrario co...
CVE-2024-48990
CVE-2024-48990 !WARNING These files and informations are intended for educational purpose only. The author is not responsible for any malicious behavior. All informations provided are not intended to incite any type of crime or abuse. Description Qualys discovered that needrestart, before version...
needrestart-sudo-escalate-cve-2024-4890
CVE-2024-4890: PoC de escalada de privilegios de Sudo en needrestart Descargo de responsabilidad Solo para uso en laboratorio en entornos controlados. No explote en sistemas de producción sin autorización explícita. Este PoC tiene fines educativos únicamente. El autor no se hace responsable por...
CVE-2024-48990-PoC-Testing
CVE-2024-48990-PoC-Testing 🐍🔓 This repository contains a Proof of Concept PoC to demonstrate a vulnerability in theneedrestart program, which fails to set Python's path correctly, leading to potential privilege escalation. The PoC highlights a potential path for gaining elevated privileges by...
CVE-2024-48990
CVE-2024-48990 Exploit para CVE-2024-48990 Escalada de privilegios local en needrestart 3.8 Antecedentes Lee https://blog.qualys.com/vulnerabilities-threat-research/2024/11/19/qualys-tru-uncovers-five-local-privilege-escalation-vulnerabilities-in-needrestart. Qualys hace un gran trabajo...
CVE-2024-48990-PoC
PoC para CVE-2024-48990 en needrestart solo con fines educativos https://www.qualys.com/2024/11/19/needrestart/needrestart.txt ¿Cómo ejecutarlo? Ejecutar ./start.sh compilará la librería importlib falsa e iniciará un script que espera a que needrestart sea ejecutado por root. Después abrirá una...
CVE-2024-48990-PoC
CVE-2024-48990-PoC What is needrestart and how does it work? Needrestart is a widely used utility on Linux systems default on many Ubuntu versions that checks after a software update whether any service or the system itself needs to be restarted. By analyzing running processes, it determines if...
CVE-2024-48990
CVE-2024-48990 hola esto es 0x3bs En máquina víctima: root@kitploit: set -e cd /tmp 1. Create the malicious module directory structure mkdir -p malicious/importlib En máquina atacante para compilar lib.c en máquina atacante : root@kitploit: gcc -shared -fPIC -o exp.so lib.c y en máquina víctima :...
CVE-2024-48990-POC
CVE-2024-48990-POC PoC simple para CVE-2024-48990 vulnerabilidad de escalada de privilegios con needrestart. https://www.qualys.com/2024/11/19/needrestart/needrestart.txt Descripción General Esto fue diseñado mientras trabajaba en el desafío de HackTheBox, 'Conversor'. Se realizarán modificacione...
CVE-2024-48990
Exploit CVE-2024-48990 Escalada de Privilegios Local en needrestart 3.8 mediante inyección de PYTHONPATH. Cómo Funciona 1. needrestart se ejecuta como root y escanea todos los procesos 2. Encuentra nuestro proceso Python, lee PYTHONPATH=/tmp/.m desde /proc/pid/environ 3. Ejecuta Python como root...
CVE-2024-48990-PoC
Este simple script de shell debe crear todos los archivos necesarios para que esta vulnerabilidad funcione. Primero crea un archivo temporal generado aleatoriamente que se usará para compilar el archivo falso init.so. Cuando se activa la vulnerabilidad, este archivo se ejecutará y copiará el...
CVE-2024-48990
CVE-2024-48990 and CVE-2024-48992 Per determinare se un processo Python un processo che esegue l'interprete Python necessita di essere riavviato, needrestart estrae la variabile d'ambiente PYTHONPATH dal file /proc/pid/environ di questo processo alla riga 193, imposta questa variabile d'ambiente ...
CVE-2024-48990
CVE-2024-48990 POC Panoramica Qualys ha scoperto che needrestart, prima della versione 3.8, consente ad attaccanti locali di eseguire codice arbitrario come root ingannando needrestart, facendogli eseguire l'interprete Python con una variabile d'ambiente PYTHONPATH controllata dall'attaccante...
needrestart-privesc-cve-2024-48990
Escalation dei privilegi di needrestart CVE-2024-48990 Questa repository contiene un exploit minimale di escalation locale dei privilegi che mira a una vulnerabilità in needrestart CVE-2024-48990. La vulnerabilità consente l'esecuzione arbitraria di codice Perl come root abusando dell'opzione di...