CVE-2020-25715: XSS

Published Oct 23, 2020
·
Updated

A flaw was found in pki-core 10.9.0. A specially crafted POST request can be used to reflect a DOM-based cross-site scripting (XSS) attack to inject code into the search query form which can get automatically executed. The highest threat from this vulnerability is to data integrity.

Other sources

A flaw was found in pki-core. A specially crafted POST request can be used to reflect a DOM-based cross-site scripting (XSS) attack to inject code into the search query form which can get automatically executed. The highest threat from this vulnerability is to data integrity.

The search query is reflected back to the user, and injected in a form, so that the user can click on the "next page", etc. However, a specially crafted POST request can be used to reflect a DOM XSS, which can get automatically executed.

The XSS requires the victim to have installed their RHCS certificate in the web browser. If that certificate has sufficient permissions, the XSS can be used to execute arbitrary code, including sending and signing arbitrary certificates.

Vulnerable page : /ca/ee/ca/listCerts (there might be other pages vulnerable to a similar attack)

document.write( "<button NAME=begin onClick='doNext(this)' VALUE='|<<' width='72'>|<<</button>\n"+ "<button "+disabledUp+" NAME=up onClick='doNext(this)' VALUE='<' width='72'><</button>\n"+ [...] "<INPUT TYPE=hidden NAME=skipNonValid VALUE='"+ (result.header.skipNonValid ? result.header.skipNonValid : "") + "'>\n"+

Several POST parameters, including skipNonValid, are being reflected back to the browser without having been sanitized by the server. An attacker can use that to inject JavaScript in the DOM.

Attack scenario : A victim authenticated in RHCS web UI (the corresponding web browser has the required key/cert installed for client authentication), is tricked into clicking a button on an attacker-controlled website. The XSS can then be used to execute arbitrary JavaScript in the context of RHCS.

Red Hat

Affected Software

6 affected componentsFixes available
redhat/pki-core<0:10.5.18-12.el7_9
0:10.5.18-12.el7_9
redhat/pki-core<0:10.5.9-15.el7_6
0:10.5.9-15.el7_6
redhat/pki-core<0:10.5.16-7.el7_7
0:10.5.16-7.el7_7
redhat/pki-core<10.9.0
10.9.0
debian/dogtag-pki<=10.10.2-3
11.2.1-2
dogtagpki dogtagpki=10.9.0

Remediation

Information

Because the cross-site scripting (XSS) attack requires the victim to have their RHCS certificate installed in their web browser to be successful, it is recommended that web browser not hold the keys and that the user use the command line interface (CLI) instead.

Event History

Mar 2, 2021
CVE Published
12:00 AM
May 28, 2021
CVE Published
via MITRE·10:20 AM
Data Sourced
via MITRE·10:20 AM
DescriptionWeakness
Dec 10, 2024
Data Sourced
via Launchpad·12:10 PM
Description
Dec 14, 2024
Data Sourced
via Ubuntu·12:10 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·12:11 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this flaw in pki-core?

The vulnerability ID is CVE-2020-25715.

2

What is the severity level of CVE-2020-25715?

The severity level of CVE-2020-25715 is medium.

3

How does the vulnerability CVE-2020-25715 affect pki-core?

The vulnerability allows a specially crafted POST request to reflect a DOM-based cross-site scripting (XSS) attack, which can inject code into the search query form and potentially compromise data integrity.

4

Which versions of pki-core are affected by CVE-2020-25715?

pki-core version 10.9.0 is affected by CVE-2020-25715.

5

Where can I find more information about CVE-2020-25715?

You can find more information about CVE-2020-25715 at the following references: - [CVE-2020-25715 on CVE.org](https://www.cve.org/CVERecord?id=CVE-2020-25715) - [CVE-2020-25715 on NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-25715) - [Bugzilla Red Hat Bug](https://bugzilla.redhat.com/show_bug.cgi?id=1891016) - [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:0851)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203