Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-3094 PoC — Xz: malicious code in distributed source

Source
Associated Vulnerability
Title:Xz: malicious code in distributed source (CVE-2024-3094)
Description:Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.
Description
CVE-2024-3094 XZ Backdoor Detector
Readme
# Description
Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.


# Affected Versions
- XZ Utils version 5.6.0
- XZ Utils version 5.6.1

# usage
```
git clone https://github.com/devjanger/CVE-2024-3094-XZ-Backdoor-Detector.git
cd CVE-2024-3094-XZ-Backdoor-Detector/
chmod +x cve-2024-3094-detector.sh
./cve-2024-3094-detector.sh
```

# Results

![image](https://github.com/devjanger/CVE-2024-3094-XZ-Backdoor-Detector/assets/55939719/efddd52f-8076-4da1-a65f-b2eb3636bd61)

![image](https://github.com/devjanger/CVE-2024-3094-XZ-Backdoor-Detector/assets/55939719/c4e62c22-ac42-4a99-8c4b-c1becd68c046)



# Reference
[https://nvd.nist.gov/vuln/detail/CVE-2024-3094](https://nvd.nist.gov/vuln/detail/CVE-2024-3094)

[https://gynvael.coldwind.pl/?lang=en&id=782](https://gynvael.coldwind.pl/?lang=en&id=782)
File Snapshot

[4.0K] /data/pocs/1f1ace72cc41f5fe02c4812124f48ba2a635bc8e ├── [ 596] cve-2024-3094-detector.sh └── [1.2K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →