THREATPORT/VULNERABILITY/CVE-2021-21246
HIGH SEVERITY

CVE-2021-21246

Onedev vulnerability

CVSS
8.6
EPSS
49.1%
EPSS pct
99th
Exploited
No known
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 vendor
Onedev Project
Affected product
Onedev
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Weakness type (CWE)
Published
2021-01-15

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality.

Its EPSS score of 49.1% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it among the most exploited CVEs currently tracked.

Check your external exposure to CVE-2021-21246

  • Confirm whether Onedev Project Onedev is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-21246.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-21246

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-21246 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-21246?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-21246.

Start free scan

No credit card. Agentless.