Bug 1732565 (CVE-2019-10221)

Summary: CVE-2019-10221 pki-core: Reflected XSS in getcookies?url= endpoint in CA
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alee, ascheel, carnil, cbuissar, cfu, edewata, jmagne, kwright, mharmsen, prisingh, rhcs-maint, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pki 10.9.0 Doc Type: If docs needed, set a value
Doc Text:
A Reflected Cross Site Scripting vulnerability was found in 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:21:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1789843, 1789907, 1798039, 1926318, 1926319    
Bug Blocks: 1732570, 1899615    

Description msiddiqu 2019-07-23 17:54:54 UTC
A vulnerability, reflected cross site scripting in getcookies?url= endpoint in CA was reported in pki-core

Comment 1 msiddiqu 2019-07-23 17:54:56 UTC
Acknowledgments:

Name: Pritam Singh (Red Hat)

Comment 5 Cedric Buissart 2020-02-04 12:47:39 UTC
Statement:

This vulnerability is rated Low : the web UI uses client TLS authentication, therefore stealing session cookies will not be sufficient for unauthorized access. The vulnerable page itself does not contain secrets.

Comment 6 Cedric Buissart 2020-02-04 12:54:34 UTC
Created pki-core tracking bugs for this issue:

Affects: fedora-all [bug 1798039]

Comment 7 Salvatore Bonaccorso 2020-02-07 06:29:44 UTC
Do you know if this was reported in the upstream issue tracker and there is a fix?

Comment 8 Cedric Buissart 2020-02-07 14:36:21 UTC
Upstream is aware. There is currently no fix. I will check for upstream issue tracker.

However, the security consequences are very limited. 
e.g. : Thanks to the webUI using client side TLS authentication, stealing a cookie will not be of much use to the attacker. 
At the moment, the only concern is about defacing.

If/when there is a fix upstream, it will be posted on this bug tracker.

I hope this helps!

Comment 9 Product Security DevOps Team 2020-11-04 02:21:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-10221

Comment 10 errata-xmlrpc 2020-11-04 03:14:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4847 https://access.redhat.com/errata/RHSA-2020:4847

Comment 12 Cedric Buissart 2021-01-07 11:11:44 UTC
*** Bug 1902050 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2021-03-15 13:25:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.6 Extended Update Support

Via RHSA-2021:0819 https://access.redhat.com/errata/RHSA-2021:0819

Comment 14 errata-xmlrpc 2021-03-16 13:48:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:0851 https://access.redhat.com/errata/RHSA-2021:0851

Comment 15 errata-xmlrpc 2021-03-23 16:46:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Extended Update Support

Via RHSA-2021:0975 https://access.redhat.com/errata/RHSA-2021:0975