-
Notifications
You must be signed in to change notification settings - Fork 43
Added security testbed for llamafactory CVE-2024-52803 #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
mzfr
commented
Jan 14, 2026
- Added Llama factory CVE-2024-52803 plugin tsunami-security-scanner-plugins#751
giacomo-doyensec
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @mzfr, thanks for your contribution!
The overall testbed looks fine I just added some suggestions in the comments down below.
| - Run Vulnerable Version Only | ||
|
|
||
| ```bash | ||
| docker-compose up llama-factory-vulnerable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| docker-compose up llama-factory-vulnerable | |
| docker compose up llama-factory-vulnerable |
| - Run Safe/Patched Version Only | ||
|
|
||
| ```bash | ||
| docker-compose up llama-factory-safe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| docker-compose up llama-factory-safe | |
| docker compose up llama-factory-safe |
| - Run Both Versions Simultaneously | ||
|
|
||
| ```bash | ||
| docker-compose up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| docker-compose up | |
| docker compose up |
| Reference PoC: https://gist.github.com/superboy-zjc/f2d2b93ae511c445ba97e144b70e534d | ||
|
|
||
| ```sh | ||
| uv run poc_verify.py --url http://localhost:7860 --cmd "echo poc-vuln" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| uv run poc_verify.py --url http://localhost:7860 --cmd "echo poc-vuln" | |
| uv run --with requests poc_verify.py --url http://localhost:<port> --cmd "echo poc-vuln" |