CVE-2019-10221 Cross-site scripting in pki-core
Reflected XSS in pki-core CA module allows attackers to execute arbitrary code in a victim's browser via crafted links.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-10221?
CVE-2019-10221 is a medium-severity cross-site scripting vulnerability in Redhat Enterprise Linux, published on 20 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Reflected Cross Site Scripting vulnerability was found in all pki-core 10.x.x versions, where the pki-ca module from the pki-core server. This flaw is caused by missing sanitization of the GET URL parameters. An attacker could abuse this flaw to trick an authenticated user into clicking a specially crafted link which can execute arbitrary code when viewed in a browser.
Weakness: CWE-79
Which versions are affected by CVE-2019-10221?
It affects 2 products.
Products include Dogtagpki Dogtagpki, Redhat Enterprise Linux.
How do I fix CVE-2019-10221?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-10221 being exploited?
There is no known exploitation of CVE-2019-10221 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as DEBIAN-CVE-2019-10221, GHSA-wfff-rc4w-hpx2, UBUNTU-CVE-2019-10221.