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

Directory Traversal

lukashinsch / spring-boot-actuator-logview

A public PoC appeared 754 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: nuclei and github. Not in 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 and 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
stage
POC
disclosed
disclosure → PoC
T+754d POC is date-only
cvss
7.7 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-01-05T17:30Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2023-01-29, date only
nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.7, high.

src cvelist · nday , bulk import · raw
{
  "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-29date only, from source
+POCpublic PoC

PoC repository on GitHub: AabyssZG/SpringBoot-Scan. The date is the repository's creation day.

src github 594579246 · nday , bulk import · raw
{
  "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"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2021-21234 (Spring Boot Actuator Logview Directory Traversal). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "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.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.