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

Directory Traversal

lukashinsch / spring-boot-actuator-logview

揭露 754 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 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揭露

CVE 紀錄由 GitHub_M 發布。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僅日期,由來源提供
+POC公開 PoC

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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 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.