CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Onedev Project

CVE-2021-21246
Onedev Project Onedev vulnerability

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the REST UserResource endpoint performs a security check to make sure that only administrators can list user details. However for the `/users/{id}` endpoint there are no security checks enforced so it is possible to retrieve arbitrary user details including their Access Tokens! These access tokens can be used to access the API or clone code in the build spec via the HTTP(S) protocol. It has permissions to all projects accessible by the user account. This issue may lead to `Sensitive data leak` and leak the Access Token which can be used to impersonate the administrator or any other users. This issue was addressed in 4.0.3 by removing user info from restful api.

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

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.