49 matches found
CVE-2024-48990_needrestart
CVE-2024-48990 - Needrestart 3.7-3 特権昇格エクスプロイト 概要 このリポジトリには、Needrestart 3.7-3 の特権昇格脆弱性 CVE-2024-48990 のエクスプロイトが含まれています。このエクスプロイトは、不適切な入力処理を利用して、昇格した権限で任意のコードを実行します。 影響を受けるバージョン Needrestart 3.7-3 Debianベースのシステムでテスト済み 他のバージョンも影響を受ける可能性があります エクスプロイトの詳細 エクスプロイトは以下で構成されています: main.asm:...
CVE-2024-48990-PoC
この単純なシェルスクリプトは、この脆弱性が機能するために必要なすべてのファイルを作成します。 まず、ランダムに生成された一時ファイルを作成します。これは、偽の init.so ファイルをコンパイルするために使用されます。 脆弱性がトリガーされると、このファイルが実行され、bash バイナリを /tmp/ribbit にコピーして SUID ビットを設定します。 次に、現在の作業ディレクトリに importlib ディレクトリを作成します。 次に、作成した一時ファイルを init.so にコンパイルし、新しく作成したディレクトリに配置します。 最後に、ランダムな名前の別の一時 Python...
CVE-2024-48990
CVE-2024-48990 — needrestart ローカル権限昇格 Ubuntu/Debian システム上の needrestart /environ から プロセスの完全な環境を継承 して Python インタプリタを再呼び出します — これには PYTHONPATH も含まれます。権限のないローカルユーザーは次の方法でこれを悪用できます: 1. PYTHONPATH を悪意のある importlib パッケージを含むディレクトリに設定する 2. Python プロセスを実行し続け、needrestart がスキャン時にそれを検出するようにする 3. needrestart...
CVE-2024-48990
CVE-2024-48990 こんにちは、これは0x3bsです。 被害マシン内: set -e cd /tmp 1. Create the malicious module directory structure mkdir -p malicious/importlib 攻撃者マシンで 攻撃者マシンで lib.c をコンパイルするには: gcc -shared -fPIC -o exp.so lib.c そして被害マシン内: /tmp 内 chmod +x run.sh /tmp/malicious/importlib 内: chmod +x exp.so ./exp.so try to...
CVE-2026-5843
CVE-2026-5843 PoC mlx-lm の modelfile importlib 実行パスを悪用するために、悪意のあるモデルを配信する最小限の OCI レジストリ。Docker Model Runner が推論用にモデルを読み込むと、model.py がログイン中のユーザーとしてホスト上で実行されます。 要件: Model Runner が有効な Docker Desktop ≤ 4.70.x Apple Silicon 使用方法 1. Start the registry on the host python3 poccve20265843.py 2. From any...
-Linux-PrivEsc-CVE-2024-48990
Privesc-need-restart-2024-48990 漏洞利用说明 CVE-2024-48990 - Pure Python 该脚本通过劫持库路径( PYTHONPATH hijacking )利用 Linux 工具 needrestart 中的漏洞 CVE-2024-48990 。与原始攻击向量不同,此方法仅使用 Python,从而绕过了在目标机器上安装 gcc 等编译器的要求。 逐步工作原理 1. 目录结构: 创建目录 /tmp/malicious/importlib。这模仿了 Python 标准库的结构。 2. 恶意载荷(importlib/init.py):...
CVE-2024-48990-PoC
CVE-2024-48990 の PoC needrestart 向け 教育目的のみ https://www.qualys.com/2024/11/19/needrestart/needrestart.txt 実行方法? ./start.sh を実行すると、偽の importlib ライブラリがコンパイルされ、root によって needrestart が実行されるのを待つスクリプトが起動します。その後、シェルがポップアップします。...
CVE-2026-79919 MaxKB function-library sandbox escape: dlopen stack-check bypass via importlib meta-path callbacks and unhooked dlsym(RTLD_NEXT)
MaxKB is an open-source AI assistant for enterprise. Prior to version 2.10.6-lts, function-library code running under the LDPRELOAD sandbox can invoke ctypes.CDLL from an importlib.abc.MetaPathFinder callback so the dlopen call-stack heuristic sees a Python import frame, then use unhooked dlsym...
CVE-2026-81662 Flowintel Alert Settings Configuration Allows Remote Code Execution via Arbitrary Configuration Keys
Affected versions of Flowintel improperly trust configuration keys supplied to the alerts settings update endpoint. While configuration values were normalized to Python literals, the corresponding keys were used directly when constructing and replacing lines in conf/configmodule.py. The vulnerabl...
CVE-2026-81662 Flowintel Alert Settings Configuration Allows Remote Code Execution via Arbitrary Configuration Keys
Affected versions of Flowintel improperly trust configuration keys supplied to the alerts settings update endpoint. While configuration values were normalized to Python literals, the corresponding keys were used directly when constructing and replacing lines in conf/configmodule.py. The vulnerabl...
CVE-2026-81662
Flowintel (versions ≥3.3.0 ) is vulnerable to Remote Code Execution via its alerts settings update endpoint. The root cause is improper handling of requester-supplied configuration keys: while values were normalized to Python literals, the keys themselves were injected directly into the source of...
CVE-2026-81662 Flowintel Alert Settings Configuration Allows Remote Code Execution via Arbitrary Configuration Keys
Affected versions of Flowintel improperly trust configuration keys supplied to the alerts settings update endpoint. While configuration values were normalized to Python literals, the corresponding keys were used directly when constructing and replacing lines in conf/configmodule.py. The vulnerabl...
PT-2026-82492
Name of the Vulnerable Software and Affected Versions Flowintel versions 3.3.0 and later Description Flowintel improperly trusts configuration keys provided to the alerts settings update endpoint. While configuration values are normalized to Python literals, the keys are used directly to construc...
PT-2026-68307
Name of the Vulnerable Software and Affected Versions praisonai versions 3.9.26 through 4.6.57 praisonaiagents versions 0.12.12 through 1.6.57 Description The workflow include feature allows for arbitrary Python code execution. The Workflow. execute include function implicitly imports and runs a...
Arbitrary Code Injection
Overview banks is an A prompt programming language Affected versions of this package are vulnerable to Arbitrary Code Injection via the importlib.importmodule. An attacker can execute arbitrary code by supplying a malicious Tool.importpath value in a Tool JSON object, which is then imported and...
CVE-2026-61536 Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE
Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.3, banks parses Tool JSON objects from the rendered body of % completion % blocks and later resolves their importpath field through importlib.importmodule... + getattr... to obtain the callable that...
CVE-2026-61446
PraisonAI praisonaiagents before 1.6.78 contains a remote code execution vulnerability in the plugin manager, which loads and executes arbitrary Python .py files from project-level and user-home .praisonai/plugins/ directories using importlib specfromfilelocation and execmodule without code...
CVE-2026-61446
CVE-2026-61446 affects PraisonAI before 1.6.78. The plugin manager loads and executes arbitrary Python files from plugin directories using importlib and exec_module without code signing or sandboxing, enabling a local attacker who can write a malicious .py file to achieve arbitrary code execution...
CVE-2026-61446 PraisonAI before 1.6.78 Remote Code Execution via Plugin Auto-Discovery
PraisonAI praisonaiagents before 1.6.78 contains a remote code execution vulnerability in the plugin manager, which loads and executes arbitrary Python .py files from project-level and user-home .praisonai/plugins/ directories using importlib specfromfilelocation and execmodule without code...
CVE-2026-61446: Improper Control of Generation of Code
PraisonAI praisonaiagents before 1.6.78 contains a remote code execution vulnerability in the plugin manager, which loads and executes arbitrary Python .py files from project-level and user-home .praisonai/plugins/ directories using importlib specfromfilelocation and execmodule without code...