Authenticated code execution via direct host_vars eval
Published Nov 25, 2024 · Updated Nov 26, 2024
Code injection in welliamcao OpsManage 3.0.1 through 3.0.5 allows remote authenticated users to execute arbitrary Python code. The deploy_host_vars handler passes the POST host_vars value directly to eval(), which interprets attacker-controlled text as Python code. A low-privilege session, matching CSRF cookie and header, and a valid asset identifier reach code execution in the web-process context.
Summary
What happened
Code injection in welliamcao OpsManage 3.0.1 through 3.0.5 allows remote authenticated users to execute arbitrary Python code. The deploy_host_vars handler passes the POST host_vars value directly to eval(), which interprets attacker-controlled text as Python code. A low-privilege session, matching CSRF cookie and header, and a valid asset identifier reach code execution in the web-process context.
The record
- CVE
- CVE-2024-11662
- Published
- Nov 25, 2024
- Updated
- Nov 26, 2024
- Vendor
- welliamcao
- Product
- OpsManage
- Classifications
- CWE-502, CWE-20, T1059.006
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 25, 2024CVE publishedPublication date reported by the CVE source.
- Nov 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=3.0.1
- Affected versionversion=3.0.2
- Affected versionversion=3.0.3
- Affected versionversion=3.0.4
- Affected versionversion=3.0.5
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
- OpsManage_RCE proof of conceptproof of concept · demonstrated
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