1229 matches found
MALW
CVE-2007-4559 - Polemarch 漏洞利用程序 针对 Polemarch 服务器 https://www.polemarch.org/ 的完整可用漏洞利用程序,利用 CVE-2007-4559,可实现: 注入使用 TOR 以更好地隐藏的 Monero 加密货币矿工。 注入针对最常见系统管理工具的 rootkit。 POC 概念验证,使用 https://vulners.com/cve/CVE-2007-4559 并基于...
Creosote
Creosote Creosote 是我们针对 CVE-2007-4559 所描述的 tarfile 漏洞而提出的扫描解决方案。该工具会递归遍历指定目录并搜索 Python 文件。当工具发现 Python 文件时,会扫描其中是否使用了 tarfile 模块,然后将代码解析为 AST 以查找存在漏洞的代码。 Creosote 将所有发现的漏洞归为 3 大类: Vuln: 这是工具能给出的最高置信度级别,任何标记为 vuln 的内容都应进行分析。 Probable Vuln 标记为 probably vulnerable 的内容在结构上符合漏洞特征,但存在某些迹象表明程序可能已对其进行了检查...
CVE-2025-4517-PoC
CVE-2025-4517-PoC CVE-2025-4517 は、Python の tarfile モジュールにおける脆弱性であり、信頼されていない tar アーカイブを展開する際に、展開先ディレクトリの外部へ任意のファイル書き込みを許可します。この問題は、フィルター "data" または "tar" を使用した TarFile.extract または TarFile.extractall を使用する場合に発生します。これらのフィルターは、細工された tar メンバーによるパストラバーサルを完全には防ぎません。 Python 3.14 では、デフォルトの展開フィルターが "data"...
CVE-2007-4559
CVE-2007-4559 の PoC または Exploit 悪意のあるTARアーカイブには、../../../../etc/passwd のようなファイルパスが含まれる可能性があり、意図された展開フォルダから「上に登る」ことを試みます。 Pythonスクリプトがファイルパスをチェックせずに tarfile.extract や extractall を使用すると、ターゲットディレクトリ外を指している場合でも、それらの場所にファイルを展開します。 つまり、ハッカーが機密ファイルやシステムファイルを上書きする可能性があり、特にユーザーが昇格した権限でスクリプトを実行した場合に危険です。...
CVE-2025-4138
CVE-2025-4138 Python Tarfile モジュールのディレクトリトラバーサル脆弱性(オーバーフローによるディレクトリ横断) 影響: 権限昇格 動作: Python の TarFile.extractall および TarFile.extract メソッドは、これらのメソッドを安全に使用するためのフィルターを設定できる機能をサポートしています。Python の標準ライブラリは、tarfilter "tar" と datafilter "data" の2つの実装を提供しており、それぞれ tarfile 抽出の安全性を高めるための異なるチェックを行います。...
python: cpython: CPython: tarfile extraction filter bypass allows escaping the destination directory
A flaw was found in the tarfile.extractall function within Python. A remote attacker could exploit this vulnerability by providing a specially crafted archive. This archive could bypass security filters by using a hardlink that references a symlink, allowing the symlink to be recreated outside th...
Important: Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 9.6 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is available...
Important: Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 10.0 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is available...
python: cpython: CPython: tarfile extraction filter bypass allows escaping the destination directory
A flaw was found in the tarfile.extractall function within Python. A remote attacker could exploit this vulnerability by providing a specially crafted archive. This archive could bypass security filters by using a hardlink that references a symlink, allowing the symlink to be recreated outside th...
CVE-2025-4517-poc
CVE-2025-4517 PoC – Python tarfile におけるパストラバーサルによる任意ファイル書き込み CVE-2025-4517 CVSS 9.4 – Critical Pythonのtarfileモジュールにおける脆弱性で、TarFile.extractallまたはTarFile.extractをfilter="data"やfilter="tar"と共に使用した場合に、展開ディレクトリの外部へ任意のファイル書き込みを許容します。 影響を受けるバージョン : Python 3.12+ で filter="data" または filter="tar" を明示的に使用した...
CVE-2025-4517-Python-tarfile-filter-data-Bypass-PoC
CVE-2025-4517 — Python tarfile filter="data" バイパス PoC...
CVE-2025-4517-POC-Sudoers
CVE-2025-4517 - 添加用户到sudoers的POC 此脚本是谷歌安全研究公告 中发布的研究的武器化版本:https://github.com/google/security-research/security/advisories/GHSA-hgqp-3mmf-7h8f 原始研究通过修改一个简单的"flag"文件来演示漏洞,而此版本针对本地权限提升(LPE)场景进行了修改。它不仅仅是证明文件可以被写入提取目录之外,而是: 1. 针对/etc/sudoers.d/目录,这是Linux中常见的持久化和权限提升向量。 2. 使用相同的PATHMAX溢出技术来"致盲"Python...
CVE-2025-4138-POC
CVE-2025-4138 - Python tarfile PATHMAX バイパス PoC 著者: d3vn0mi root@kitploit: / \ \ / / | | / \ | | | | || | / | | \ V /| | | | | | | \ | | || || / \ | | | | | ||/ /| || / / || | , | | || || ||/|/ |||/ // CVE-2025-4138 :: Python tarfile PATHMAX バイパス 著者: d3vn0mi 概要 CVE-2025-4138...
CVE-2025-4138-poc
CVE-2025-4138 Generador Auto-Sudo Un script de Python para generar un archivo tar malicioso que explota CVE-2025-4138 / CVE-2025-4517 Recorrido de rutas mediante truncamiento de PATHMAX. Explotar con éxito esta vulnerabilidad permite a un atacante eludir los filtros de extracción de tarfile y...
Important: Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System CVSS base score, which gives a detailed severity rating, is...
python: cpython: CPython: tarfile extraction filter bypass allows escaping the destination directory
A flaw was found in the tarfile.extractall function within Python. A remote attacker could exploit this vulnerability by providing a specially crafted archive. This archive could bypass security filters by using a hardlink that references a symlink, allowing the symlink to be recreated outside th...
CVE-2007-4559-lab
CVE-2007-4559 — TarSlip: 15年にわたるディレクトリトラバーサル 教育目的のみ。 このラボは隔離されたDockerコンテナ内で意図的にファイルシステムの脆弱性を利用します。機密データがあるシステムや本番環境では実行しないでください。 自己完結型Dockerラボで、CVE-2007-4559 — Pythonのtarfileモジュールにおける悪名高い「TarSlip」脆弱性 — を具体的なエンドツーエンドの攻撃チェーンを通じて実演します: 1. 攻撃者が細工したtarballをファイルアップロードAPIにアップロードする。 2...
CVE-2025-4138_tarfile_filter_bypass
CVE-2025-4138 — Bypass del filter="data" de Python tarfile Escritura arbitraria de archivos fuera del directorio de extracción mediante una cadena de symlinks PATHMAX. Versiones afectadas Python 3.12.0 – 3.12.10 Python 3.13.0 – 3.13.3 Corregido en 3.12.11 / 3.13.4 Crédito: Reportero: Caleb Brown...
CVE-2025-4517-tarfile-PATH_MAX-bypass
CVE-2025-4517 / CVE-2025-4330 — Python tarfile の Data Filter が PATHMAX オーバーフローによりバイパスされる 著者: 0xDTC CVE: CVE-2025-4517 / CVE-2025-4330 勧告: GHSA-6r6c-684h-9j7p CPython 修正: PR 135037 概要 Python の tarfile.extractallfilter="data" は、パストラバーサル(絶対パス、.. シーケンス、出力先を脱出するシンボリックリンク)を防止することで、tar...
CVE-2025-4517-POC
CVE-2025-4517 利用 说明 本利用及描述由AI编写。如果发现任何错误或问题,请告知我!本利用已测试并确认有效。感谢! 概述 本利用利用了 CVE-2025-4517 ,这是 Python tarfile 模块中的一个严重漏洞,通过组合符号链接路径遍历与硬链接操纵,可实现任意文件写入。该漏洞绕过了 Python 3.12 中引入的 filter="data" 保护机制。 漏洞详情 CVE ID : CVE-2025-4517 受影响版本 : Python 3.8.0 至 3.13.1 CVSS 评分 : 9.3(严重) 影响 : 以提升的权限进行任意文件写入 技术背景 该漏洞利...