ID:8186 - Exploit for Code Injection in Sourcegraph - CVE-2022-23642

 
Main Vulnerability Database Exploits ID:8186 - Exploit for Code Injection in Sourcegraph - CVE-2022-23642

ID:8186 - Exploit for Code Injection in Sourcegraph - CVE-2022-23642

Published: July 27, 2022


Vulnerability identifier: #VU64491
Vulnerability risk: Medium
CVE-ID: CVE-2022-23642
CWE-ID: CWE-94
Exploitation vector: Remote access
Vulnerable software:
Sourcegraph

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in the "gitserver" service. A remote user can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.