Vulnerabilities · 2022 · Onedev Project
CVE-2022-39208
Onedev Project Onedev vulnerability
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. All files in the /opt/onedev/sites/ directory are exposed and can be read by unauthenticated users. This directory contains all projects, including their bare git repos and build artifacts. This file disclosure vulnerability can be used by unauthenticated attackers to leak all project files of any project. Since project IDs are incremental, an attacker could iterate through them and leak all project data. This issue has been resolved in version 7.3.0 and users are advised to upgrade. There are no known workarounds for this issue.
Affected products
Onedev. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Onedev Project Onedev runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/theonedev/onedev/commit/8aa94e0daf8447cdf76d4f27bfda0a85a7ea5822 · Patch
- blog.sonarsource.com/onedev-remote-code-execution/ · Exploit
- github.com/theonedev/onedev/security/advisories/GHSA-h427-rv56-c9h2 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39208
- cve.org/CVERecord?id=CVE-2022-39208
More vulnerabilities in Onedev Project products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.