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

Goal: 1000 CNY · Raised: 1020 CNY

100%

CVE-2024-11392 PoC — Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability

Source
Associated Vulnerability
Title:Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability (CVE-2024-11392)
Description:Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of configuration files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-24322.
Readme
Running

- have docker and uv installed, then clone repo and run uv sync, after they're installed cd into the folder and activate the venv
- current server.py works with test_grader.py, test_run.py, and test_task.json
- in order to run, just run hud dev --build in one terminal and run python test_run.py in another terminal (make sure you're inside the venv created by uv)
File Snapshot

[4.0K] /data/pocs/2377b7e60934b381e0f258385d9de66f09e33290 ├── [4.7K] Dockerfile ├── [ 535] pyproject.toml ├── [ 374] README.md ├── [ 677] run_pentest_task.py ├── [ 268] safe_config.yaml ├── [4.0K] src │   └── [4.0K] controller │   ├── [4.0K] cves │   │   ├── [ 15K] cve_2024_11392.py │   │   └── [ 180] __init__.py │   ├── [ 957] env.py │   └── [2.3K] server.py ├── [4.0K] tasks │   ├── [1.1K] full_info.json │   ├── [1021] one_day.json │   ├── [3.0K] tasks.json │   └── [ 938] zero_day.json ├── [3.1K] tasks.json ├── [1.4K] vllm_build.sh └── [ 342] vllm_kill.sh 5 directories, 16 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 →