Stored cross-site scripting in Keycloak



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-1697
CWE-ID CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
Keycloak
Server applications / Directory software, identity management

Vendor Keycloak

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Stored cross-site scripting

EUVDB-ID: #VU25396

Risk: Low

CVSSv3.1: 5.6 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-1697

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in client settings. A remote authenticated attacker can permanently inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website via Application Links.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Keycloak: 0.6.0 - 8.0.1

CPE2.3 External links

http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1697
http://github.com/keycloak/keycloak/commit/75457496325c4ae8963199a318d834d6a5eaad16#diff-a8224fb55ff896c3ddd2fcdaac260177
http://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-548450


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###