nday
CVE-2021-21234 GHSA-p4q6-qxjx-8jgp

Directory Traversal

lukashinsch / spring-boot-actuator-logview

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

tags weakness typepath traversal accessnetworkno user interaction exploitationnuclei
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.

path traversal
CWE-22, stated by the CNA GitHub_M、NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/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:L/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
nuclei
nuclei templates CVE-2021-21234
現在の段階
POC
公開日時
公開から PoC まで
T+754d POC は日付のみ
CVSS 基本値
7.7 HIGH v3.1

ライフサイクル

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

概要

spring-boot-actuator-logview in a library that adds a simple logfile viewer as spring boot actuator endpoint. It is maven package "eu.hinsch:spring-boot-actuator-logview". In spring-boot-actuator-logview before version 0.2.13 there is a directory traversal vulnerability. The nature of this library is to expose a log file directory via admin (spring boot actuator) HTTP endpoints. Both the filename to view and a base folder (relative to the logging folder root) can be specified via request parameters. While the filename parameter was checked to prevent directory traversal exploits (so that filename=../somefile would not work), the base folder parameter was not sufficiently checked, so that filename=somefile&base=../ could access a file outside the logging base directory). The vulnerability has been patched in release 0.2.13. Any users of 0.2.12 should be able to update without any issues as there are no other changes in that release. There is no workaround to fix the vulnerability other than updating or removing the dependency. However, removing read access of the user the application is run with to any directory not required for running the application can limit the impact. Additionally, access to the logview endpoint can be limited by deploying the application behind a reverse proxy.

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:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/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 基本値 7.7(重要)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 62889,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-21234",
  "occurred_at": "2021-01-05T17:30:15Z",
  "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:L/UI:N/S:C/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 7.7,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2021-01-05T17:30:15.000Z",
    "assigner_short_name": "GitHub_M"
  }
}
2023-01-29日付のみ、ソース記載
+POCPoC 公開

GitHub の PoC リポジトリ:AabyssZG/SpringBoot-Scan。日付はリポジトリの作成日。

出典 github 594579246 · nday が に一括取り込み · 生データ
{
  "id": 499253,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/AabyssZG/SpringBoot-Scan",
  "occurred_at": "2023-01-29T01:11:21Z",
  "observed_at": "2026-11-22T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "594579246",
  "detail": {
    "url": "https://github.com/AabyssZG/SpringBoot-Scan",
    "title": "AabyssZG/SpringBoot-Scan",
    "precision": "day"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

nuclei-templates が検知テンプレート CVE-2021-21234(Spring Boot Actuator Logview Directory Traversal)を収録。テンプレートの公開日時はソースに記載なし。

出典 nuclei · nday が に一括取り込み · 生データ
{
  "id": 54353,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21234.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2021-21234",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21234.yaml",
    "kind": "detection_template",
    "title": "Spring Boot Actuator Logview Directory Traversal",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "7.7",
    "template_id": "CVE-2021-21234",
    "template_path": "http/cves/2021/CVE-2021-21234.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.