Authenticated command execution via dependency installation endpoint
Published Dec 26, 2024 · Updated Dec 26, 2024
Code injection in melMass comfy-mtb 0.1.0 through 0.1.4 allows remote authenticated users to execute commands via its dependency endpoint. ACTIONS_installDependency accepts client-supplied dependency names and passes them to run_command for a pip install operation without limiting them to known packages. Access to a running ComfyUI instance and low-privileged API access are required; successful exploitation executes commands with the ComfyUI process's permissions.
Summary
What happened
Code injection in melMass comfy-mtb 0.1.0 through 0.1.4 allows remote authenticated users to execute commands via its dependency endpoint. ACTIONS_installDependency accepts client-supplied dependency names and passes them to run_command for a pip install operation without limiting them to known packages. Access to a running ComfyUI instance and low-privileged API access are required; successful exploitation executes commands with the ComfyUI process's permissions.
The record
- CVE
- CVE-2024-12952
- Published
- Dec 26, 2024
- Updated
- Dec 26, 2024
- Vendor
- melMass
- Product
- comfy-mtb
- Classifications
- CWE-74, CWE-94, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 26, 2024CVE publishedPublication date reported by the CVE source.
- Dec 26, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.0
- Affected versionversion=0.1.1
- Affected versionversion=0.1.2
- Affected versionversion=0.1.3
- Affected versionversion=0.1.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub issue proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo