CVE-2020-10748: Cross-site Scripting in Keycloak
Summary
CVE-2020-10748: Cross-site Scripting in Keycloak. Affects org.keycloak:keycloak-parent versions < 10.0.2. Fixed in 10.0.2. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Keycloak is an open-source identity and access management solution that allows organizations to secure their applications and services. It provides features such as single sign-on, social login, and user federation. The vulnerability identified as CVE-2020-10748 affects Keycloak version 10.0.1. Keycloak's data filter allowed the processing of data URLs in certain circumstances, leading to a cross-site scripting vulnerability. This vulnerability could be exploited by an attacker to execute malicious scripts on a victim's browser, potentially leading to further attacks.
Vulnerability Detail
The vulnerability in Keycloak arises from a flaw in its data filter. This flaw allows the processing of data URLs, which can be leveraged by an attacker to inject and execute arbitrary scripts on a victim's browser. By enticing a user to visit a specially crafted webpage or click on a malicious link, an attacker can exploit this vulnerability to steal sensitive information, perform actions on behalf of the victim, or further compromise the system. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.
How To Fix
Minimum fixed version
10.0.2
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. It is advised to apply the fix by upgrading Keycloak to the latest version.
Conclusion
In conclusion, CVE-2020-10748 is a cross-site scripting vulnerability in Keycloak version 10.0.1. It allows an attacker to execute arbitrary scripts on a victim's browser, potentially leading to further attacks. To mitigate this vulnerability, it is recommended to upgrade Keycloak to version 10.0.2 or later. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for org.keycloak:keycloak-parent →
FAQ
Keycloak is an open-source identity and access management solution that provides features such as single sign-on, social login, and user federation.
The vulnerability allows an attacker to execute arbitrary scripts on a victim's browser, potentially leading to further attacks and unauthorized access to sensitive information.
To fix this vulnerability, it is recommended to upgrade Keycloak to version 10.0.2 or later.
There is no specific workaround provided for this vulnerability. It is advised to apply the fix by upgrading Keycloak to the latest version.
The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.keycloak:keycloak-parent.