PT-2019-17703 · Gitlab · Gitlabhook
Published
2019-09-13
·
Updated
2023-02-28
·
CVE-2019-5485
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
gitlabhook versions 0.0.17 and earlier
gitlabhook (all versions)
Description
The issue concerns a Command Injection vulnerability. It allows arbitrary commands to be injected through the repository name. The package does not validate input in the body of a POST request and concatenates it to an exec call, enabling attackers to run arbitrary commands in the system.
Recommendations
For version 0.0.17, consider using an alternative package until a fix is made available.
For all versions, consider using an alternative package until a fix is made available.
As a temporary workaround, consider restricting access to the vulnerable package to minimize the risk of exploitation.
Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gitlabhook