mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[GH-ISSUE #1125] Path Traversal Vulnerability #480
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Arashimu on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1125
The plugin of ComfyUI: ComfyUI-Manager allows for arbitrary file overwrite.
RCA:
[1] If a user set the secure_level to weak
[2] then the attacker can fake a copy request with a arbitrary url
[3] notice that the param
js_path_nameis not checked, so lead to arbitrary file overwrite.before run the poc, the layout as follow:
then I run the command
python -m http.serverto start a http server and use Yakit to send a fake request:finally trigger a arbitrary file overwrite:
Although this can only be executed at a low security level, there is still a possibility of risk occurring.
@ltdrdata commented on GitHub (Oct 8, 2024):
This is fixed.
Thank you for the report.