Arbitrary binary execution via mutable exported path
Published Nov 9, 2023 · Updated Sep 4, 2024
Command injection in the chromedriver npm package before 119.0.1 allows local users to execute an arbitrary binary through its Node.js API. The start function read the publicly writable exports.path property and passed that value directly to child_process.spawn, replacing the intended driver command. Exploitation requires local access able to change the module export and runs with the Node.js process's permissions; the advisory covers the npm wrapper, not Google's standalone ChromeDriver binary.
Summary
What happened
Command injection in the chromedriver npm package before 119.0.1 allows local users to execute an arbitrary binary through its Node.js API. The start function read the publicly writable exports.path property and passed that value directly to child_process.spawn, replacing the intended driver command. Exploitation requires local access able to change the module export and runs with the Node.js process's permissions; the advisory covers the npm wrapper, not Google's standalone ChromeDriver binary.
The record
- CVE
- CVE-2023-26156
- Published
- Nov 9, 2023
- Updated
- Sep 4, 2024
- Vendor
- Product
- ChromeDriver
- Classifications
- CWE-78, CAPEC-88
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 9, 2023CVE publishedPublication date reported by the CVE source.
- Sep 4, 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 <119.0.1
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
- CVE-2023-26156 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