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

Directory Traversal

lukashinsch / spring-boot-actuator-logview

披露后第 754 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 nuclei、github 已收录(2/4)。尚未列入 CISA KEV。

标签 漏洞类型path traversal 攻击途径网络无需用户交互 利用情况nuclei
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

path traversal
CWE-22(来源:编号分配方 GitHub_M、NVD(转录自 [email protected]))
网络
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N(CVSS 3.1)中的 AV:N
无需用户交互
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N(CVSS 3.1)中的 UI:N
nuclei
nuclei 模板 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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

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

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 7.7,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。