#VU69505 OS Command Injection in Sourcegraph


Published: 2022-11-22

Vulnerability identifier: #VU69505

Vulnerability risk: Low

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-41943

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 privileged user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the experimental customGitFetch feature . A remote privileged user (site admin) can pass specially crafted data to the application and execute arbitrary OS commands on the Gitserver.


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-4qhq-4x4h-fxm8


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability