Upstream information

CVE-2021-41174 at MITRE

Description

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.9 6.9
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
Access Vector Network Network
Access Complexity High High
Privileges Required None None
User Interaction Required Required
Scope Changed Changed
Confidentiality Impact Low Low
Integrity Impact High High
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1192383 [RESOLVED / INVALID]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container ses/7/ceph/grafana:8.3.5.3.778
  • grafana >= 8.3.5-150200.3.21.1
SUSE Linux Enterprise Module for SUSE Manager Server 4.2
SUSE Manager Server 4.2
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
Patchnames:
SUSE-SLE-Module-SUSE-Manager-Server-4.2-2022-1396
SUSE Manager Tools 15-BETA
  • golang-github-prometheus-prometheus >= 2.32.1-159000.6.24.1
  • grafana >= 8.3.5-159000.4.21.1
  • python3-salt >= 3004-159000.8.50.1
  • python3-spacewalk-check >= 4.3.6-159000.6.39.1
  • python3-spacewalk-client-setup >= 4.3.6-159000.6.39.1
  • python3-spacewalk-client-tools >= 4.3.6-159000.6.39.1
  • salt >= 3004-159000.8.50.1
  • salt-api >= 3004-159000.8.50.1
  • salt-bash-completion >= 3004-159000.8.50.1
  • salt-cloud >= 3004-159000.8.50.1
  • salt-doc >= 3004-159000.8.50.1
  • salt-fish-completion >= 3004-159000.8.50.1
  • salt-master >= 3004-159000.8.50.1
  • salt-minion >= 3004-159000.8.50.1
  • salt-proxy >= 3004-159000.8.50.1
  • salt-ssh >= 3004-159000.8.50.1
  • salt-standalone-formulas-configuration >= 3004-159000.8.50.1
  • salt-syndic >= 3004-159000.8.50.1
  • salt-transactional-update >= 3004-159000.8.50.1
  • salt-zsh-completion >= 3004-159000.8.50.1
  • spacecmd >= 4.3.7-159000.6.33.1
  • spacewalk-check >= 4.3.6-159000.6.39.1
  • spacewalk-client-setup >= 4.3.6-159000.6.39.1
  • spacewalk-client-tools >= 4.3.6-159000.6.39.1
Patchnames:
SUSE-SLE-Manager-Tools-15-BETA-2022-751
SUSE Manager Tools 15
  • grafana >= 8.3.5-150000.1.30.1
  • mgr-cfg >= 4.2.8-150000.1.24.1
  • mgr-cfg-actions >= 4.2.8-150000.1.24.1
  • mgr-cfg-client >= 4.2.8-150000.1.24.1
  • mgr-cfg-management >= 4.2.8-150000.1.24.1
  • mgr-osad >= 4.2.8-150000.1.36.1
  • mgr-push >= 4.2.5-150000.1.18.2
  • mgr-virtualization-host >= 4.2.4-150000.1.26.1
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
  • python3-mgr-cfg >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-actions >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-client >= 4.2.8-150000.1.24.1
  • python3-mgr-cfg-management >= 4.2.8-150000.1.24.1
  • python3-mgr-osa-common >= 4.2.8-150000.1.36.1
  • python3-mgr-osad >= 4.2.8-150000.1.36.1
  • python3-mgr-push >= 4.2.5-150000.1.18.2
  • python3-mgr-virtualization-common >= 4.2.4-150000.1.26.1
  • python3-mgr-virtualization-host >= 4.2.4-150000.1.26.1
  • python3-rhnlib >= 4.2.6-150000.3.34.1
  • python3-spacewalk-check >= 4.2.18-150000.3.59.1
  • python3-spacewalk-client-setup >= 4.2.18-150000.3.59.1
  • python3-spacewalk-client-tools >= 4.2.18-150000.3.59.1
  • python3-spacewalk-koan >= 4.2.6-150000.3.27.1
  • python3-spacewalk-oscap >= 4.2.4-150000.3.18.1
  • python3-suseRegisterInfo >= 4.2.6-150000.3.21.1
  • spacecmd >= 4.2.16-150000.3.77.1
  • spacewalk-check >= 4.2.18-150000.3.59.1
  • spacewalk-client-setup >= 4.2.18-150000.3.59.1
  • spacewalk-client-tools >= 4.2.18-150000.3.59.1
  • spacewalk-koan >= 4.2.6-150000.3.27.1
  • spacewalk-oscap >= 4.2.4-150000.3.18.1
  • suseRegisterInfo >= 4.2.6-150000.3.21.1
Patchnames:
SUSE-SLE-Manager-Tools-15-2022-1396
openSUSE Leap 15.3
  • grafana >= 8.3.5-150200.3.21.1
  • prometheus-postgres_exporter >= 0.10.0-150000.1.3.1
  • python3-rhnlib >= 4.2.6-150000.3.34.1
  • spacecmd >= 4.2.16-150000.3.77.1
Patchnames:
openSUSE-SLE-15.3-2022-1396
openSUSE-SLE-15.3-2022-1419
openSUSE Leap 15.4
  • grafana >= 8.3.5-150200.3.21.1
Patchnames:
openSUSE-SLE-15.4-2022-1419
openSUSE Tumbleweed
  • grafana >= 8.3.4-1.1
Patchnames:
openSUSE Tumbleweed GA grafana-8.3.4-1.1

List of packages in QA

Product(s) Package(s)
HPE Helion Openstack 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP3-BCL
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP3-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP4-LTSS
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server 12 SP5
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE Manager Tools 12
  • golang-github-QubitProducts-exporter_exporter >= 0.4.0-1.6.1
  • golang-github-prometheus-alertmanager >= 0.23.0-1.12.1
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
  • grafana >= 8.3.5-1.30.1
  • mgr-cfg >= 4.3.6-1.27.2
  • mgr-cfg-actions >= 4.3.6-1.27.2
  • mgr-cfg-client >= 4.3.6-1.27.2
  • mgr-cfg-management >= 4.3.6-1.27.2
  • mgr-custom-info >= 4.3.3-1.18.1
  • mgr-daemon >= 4.3.4-1.32.1
  • mgr-osad >= 4.3.6-1.39.2
  • mgr-push >= 4.3.4-1.21.2
  • mgr-virtualization-host >= 4.3.5-1.29.1
  • prometheus-blackbox_exporter >= 0.19.0-1.6.1
  • prometheus-postgres_exporter >= 0.10.0-1.6.1
  • python2-hwdata >= 2.3.5-12.9.1
  • python2-mgr-cfg >= 4.3.6-1.27.2
  • python2-mgr-cfg-actions >= 4.3.6-1.27.2
  • python2-mgr-cfg-client >= 4.3.6-1.27.2
  • python2-mgr-cfg-management >= 4.3.6-1.27.2
  • python2-mgr-osa-common >= 4.3.6-1.39.2
  • python2-mgr-osad >= 4.3.6-1.39.2
  • python2-mgr-push >= 4.3.4-1.21.2
  • python2-mgr-virtualization-common >= 4.3.5-1.29.1
  • python2-mgr-virtualization-host >= 4.3.5-1.29.1
  • python2-rhnlib >= 4.3.4-21.43.1
  • python2-spacewalk-check >= 4.3.9-52.71.1
  • python2-spacewalk-client-setup >= 4.3.9-52.71.1
  • python2-spacewalk-client-tools >= 4.3.9-52.71.1
  • python2-spacewalk-koan >= 4.3.5-24.33.1
  • python2-spacewalk-oscap >= 4.3.5-19.27.1
  • python2-suseRegisterInfo >= 4.3.3-25.27.1
  • python2-uyuni-common-libs >= 4.3.4-1.21.1
  • spacecmd >= 4.3.11-38.103.1
  • spacewalk-check >= 4.3.9-52.71.1
  • spacewalk-client-setup >= 4.3.9-52.71.1
  • spacewalk-client-tools >= 4.3.9-52.71.1
  • spacewalk-koan >= 4.3.5-24.33.1
  • spacewalk-oscap >= 4.3.5-19.27.1
  • spacewalk-remote-utils >= 4.3.3-24.24.1
  • supportutils-plugin-susemanager-client >= 4.3.2-6.24.1
  • suseRegisterInfo >= 4.3.3-25.27.1
SUSE OpenStack Cloud 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE OpenStack Cloud 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE OpenStack Cloud Crowbar 8
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1
SUSE OpenStack Cloud Crowbar 9
  • golang-github-prometheus-node_exporter >= 1.3.0-1.15.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 grafana Not affected
SUSE Enterprise Storage 6 grafana Not affected
SUSE Manager Client Tools Beta for SLE 12 grafana Not affected
SUSE Manager Client Tools Beta for SLE 15 grafana In progress
SUSE Manager Client Tools for SLE 12 grafana In progress
SUSE Manager Client Tools for SLE 15 grafana In progress
SUSE OpenStack Cloud 8 grafana Not affected
SUSE OpenStack Cloud 9 grafana Not affected
SUSE OpenStack Cloud Crowbar 8 grafana Not affected
SUSE OpenStack Cloud Crowbar 9 grafana Not affected
ses/7.1/ceph/grafana
ses/7/ceph/grafana
grafanaIn progress