Bug 1672865 (CVE-2019-3826) - CVE-2019-3826 prometheus: Stored DOM cross-site scripting (XSS) attack via crafted URL
Summary: CVE-2019-3826 prometheus: Stored DOM cross-site scripting (XSS) attack via cr...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-3826
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1672866 1672867 1672870 1672871 1677478 1677479 1677480
Blocks: 1672868
TreeView+ depends on / blocked
 
Reported: 2019-02-06 04:31 UTC by Sam Fowler
Modified: 2021-10-25 09:51 UTC (History)
14 users (show)

Fixed In Version: prometheus 2.7.1
Doc Type: If docs needed, set a value
Doc Text:
A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus. An attacker could exploit this by convincing an authenticated user to visit a crafted URL on a Prometheus server, allowing for the execution and persistent storage of arbitrary scripts.
Clone Of:
Environment:
Last Closed: 2021-10-25 09:51:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2019-02-06 04:31:24 UTC
Prometheus versions from 2.1.0 and before 2.7.1 are vulnerable to a stored DOM based cross-site scripting (XSS) attack. An attacker could exploit this by convincing an authenticated user to visit a crafted URL on a Prometheus server, allowing for malicious code to run and remain in the browser's local storage.


Upstream Pull Request:

https://github.com/prometheus/prometheus/pull/5163


Upstream Changelog:

https://github.com/prometheus/prometheus/commit/62e591f9

Comment 1 Sam Fowler 2019-02-06 04:31:38 UTC
Created golang-github-prometheus-prometheus tracking bugs for this issue:

Affects: epel-6 [bug 1672867]
Affects: fedora-all [bug 1672866]

Comment 9 Sam Fowler 2019-02-15 03:33:19 UTC
Prometheus Cluster Monitoring was a Technology Preview feature before OpenShift Container Platform 3.11.

https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html-single/release_notes/#ocp-311-technology-preview


Note You need to log in before you can comment on or make changes to this bug.