Authenticated command injection via git argument splitting
Published Jun 10, 2022 · Updated Sep 16, 2024
Command injection in Fabio Crisci git-promise all versions allows remote authenticated users to execute arbitrary commands via crafted git arguments. The wrapper splits a caller-supplied command string on spaces, allowing tabs or shell ${IFS} expansion in options such as --upload-pack to reach git and invoke attacker-selected programs. Exploitation requires an application to pass attacker-controlled input to git-promise; successful execution can read, modify, or disrupt resources available to that process.
Summary
What happened
Command injection in Fabio Crisci git-promise all versions allows remote authenticated users to execute arbitrary commands via crafted git arguments. The wrapper splits a caller-supplied command string on spaces, allowing tabs or shell ${IFS} expansion in options such as --upload-pack to reach git and invoke attacker-selected programs. Exploitation requires an application to pass attacker-controlled input to git-promise; successful execution can read, modify, or disrupt resources available to that process.
The record
- CVE
- CVE-2022-24376
- Published
- Jun 10, 2022
- Updated
- Sep 16, 2024
- Vendor
- Fabio Crisci
- Product
- git-promise
- Classifications
- CWE-88, CWE-78, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 10, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 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 <unspecified
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
- git-promise command injection 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