Vulnerability identifier: #VU69504
Vulnerability risk: Medium
CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-78
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Sourcegraph
Client/Desktop applications /
Other client software
Vendor: Sourcegraph
Description
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation on the host parameter of the /list-gitolite
endpoint. A remote user can pass specially crafted data to gitserver and execute arbitrary OS commands inside the container.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Sourcegraph: 3.0.0 - 4.0.1
External links
http://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-pfm3-23mh-6xjp
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.