nday
CVE-2021-21246 GHSA-66v7-gg85-f4gx

Pre-Auth Access token leak

theonedev / onedev

に公開されました。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。PoC ソース 4 件中 1 件(nuclei)に掲載されています。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-862, stated by the CNA GitHub_M、NVD, republishing [email protected]
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
nuclei
nuclei templates CVE-2021-21246
現在の段階
POC
公開日時
CVSS 基本値
8.6 HIGH v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
2021-01-15T20:10Z
PAT修正
記録なし
ANA解析
記録なし
POCPoC
nuclei
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 8.6(重要)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 62890,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-21246",
  "occurred_at": "2021-01-15T20:10:46Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 8.6,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2021-01-15T20:10:46.000Z",
    "assigner_short_name": "GitHub_M"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

nuclei-templates が検知テンプレート CVE-2021-21246(OneDev < 4.0.3 - User Access Token Leak)を収録。テンプレートの公開日時はソースに記載なし。

出典 nuclei · nday が に一括取り込み · 生データ
{
  "id": 54354,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21246.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2021-21246",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21246.yaml",
    "kind": "detection_template",
    "title": "OneDev < 4.0.3 - User Access Token Leak",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "8.6",
    "template_id": "CVE-2021-21246",
    "template_path": "http/cves/2021/CVE-2021-21246.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.