目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-3094 PoC — xz 安全漏洞

来源
关联漏洞
标题: xz 安全漏洞 (CVE-2024-3094)
Description:xz是一个应用软件。用于支持读取和写入xz压缩流。 XZ Utils 5.6.0版本和5.6.1版本存在安全漏洞,该漏洞源于允许攻击者嵌入恶意代码。
介绍
# xz-utils Vulnerability Check and Update Utility

This script is designed to check for vulnerabilities in the installed version of xz-utils on your system. If a vulnerable version is detected, the script offers to automatically download and install a stable version to mitigate potential security risks.

## Requirements

The following components are necessary for the script to run:
- Python 3
- `requests` library (can be installed via `pip install requests`)
- `tarfile` library (included with Python 3)
- Internet access for downloading the stable version archive

## Features

- Automatically detects the installed version of xz-utils.
- Checks against a list of known vulnerable versions.
- Downloads and installs a stable version if a vulnerable version is detected.
- Cleans up downloaded archives after installation.

## How to Use

1. Ensure Python 3 is installed on your system.
2. Clone this repository or download the script directly.
3. Install the required Python libraries using `pip install -r requirements.txt` (ensure you have `requests` library installed).
4. Run the script with `python check_xz_vulnerability.py`.
5. If a vulnerable version is detected, follow the prompts to install the stable version.

## Note

This script requires administrative privileges to install the new version of xz-utils. You may be prompted for your password if necessary.

## Disclaimer

This script is provided "as is", without warranty of any kind. Use it at your own risk. The authors are not responsible for any damage or issues that may arise from using this script.

## Contribution

Contributions are welcome. Please create a pull request or open an issue for any bugs or feature requests.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →