Cloudanix VulnDB

CVE-2023-6152

Medium · 5.4

CVSS

5.4

EPSS

1.4%

Published

Feb 13, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

Users can quietly swap the email tied to their account for one they control, letting them take over the account through normal recovery features.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Tampering
Component
Application
Class
Authorization Bypass
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits an authenticated user to update their registered email address via profile settings without triggering any verification step when verify_email_enabled is active, because the option only enforces verification during initial signup.

Why it matters to the business

Attackers who obtain initial account access can silently redirect account recovery and notifications to addresses they control, enabling persistent unauthorized access and potential data or account takeover.

How an attack unfolds

An attacker creates an account using a verifiable email, completes signup verification, then immediately modifies the email field in profile settings to an attacker-controlled address; no further confirmation is required, allowing the attacker to receive password resets and other account communications.

How to fix it

Modify the email-update workflow to require verification for every change regardless of the verify_email_enabled setting; enforce the same validation logic used at signup on all profile email modifications.

How to confirm the fix worked

Create a test account, verify the initial email, attempt an email change through profile settings, and confirm that a verification token or confirmation step is now required before the change is accepted.

Typical attack path

  1. Obtain or create a verified account
  2. Authenticate to the application
  3. Access profile or account settings
  4. Submit a new email address without verification challenge
  5. Receive account recovery tokens at the new address

How to detect it

Search authentication and audit logs for email address update events that are not followed by verification email sends or token issuance within a short time window.

What your security team should do

  • Review all authentication and profile-update code paths for missing verification steps
  • Add automated tests that assert verification is enforced on email changes
  • Monitor authentication logs for email address modifications that lack corresponding verification events

The record

A user changing their email after signing up and verifying it can change it without verification in profile settings. The configuration option "verify_email_enabled" will only validate email only on sign up.

Affected packages

Ecosystem Package Introduced Fixed
Go github.com/grafana/grafana 10.0.0 10.0.11
Go github.com/grafana/grafana 10.1.0 10.1.7
Go github.com/grafana/grafana 10.2.0 10.2.4
Go github.com/grafana/grafana 10.3.0 10.3.3
Go github.com/grafana/grafana 2.5.0 9.5.16
Bitnami grafana 2.5.0 9.5.16
Chainguard grafana 0 10.3.3-r0
Chainguard grafana-10.1 0 10.1.7-r0
Chainguard grafana-7 0 7.5.27-r0
Chainguard grafana-7-dashboards 0 7.5.27-r0
Chainguard grafana-7-homepage 0 7.5.27-r0
Chainguard grafana-9 0 9.5.16-r0
Chainguard grafana-dashboards 0 10.3.3-r0
Chainguard grafana-homepage 0 10.3.3-r0
Chainguard grafana-oci-compat-9 0 9.5.16-r0
SUSE:Enterprise Storage 7.1 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Module for Package Hub 15 SP5 golang-github-prometheus-promu 0 0.14.0-150000.3.18.2
SUSE:Linux Enterprise Module for Package Hub 15 SP5 grafana 0 9.5.18-150200.3.56.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 golang-github-prometheus-promu 0 0.17.0-150000.3.24.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 grafana 0 9.5.18-150200.3.56.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 grafana 0 10.4.13-150200.3.59.1
SUSE:Linux Enterprise Server 12 SP5 golang-github-prometheus-node_exporter 0 1.7.0-1.30.2
SUSE:Linux Enterprise Server 15 SP3-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Server 15 SP4-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Server 15 SP5-LTSS supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 golang-github-prometheus-node_exporter 0 1.7.0-1.30.2
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Manager Client Tools 12 golang-github-prometheus-alertmanager 0 0.26.0-1.27.2
SUSE:Manager Client Tools 12 golang-github-prometheus-node_exporter 0 1.7.0-1.30.2
SUSE:Manager Client Tools 12 golang-github-prometheus-prometheus 0 2.53.3-1.56.1
SUSE:Manager Client Tools 12 golang-github-prometheus-promu 0 0.14.0-1.18.1
SUSE:Manager Client Tools 12 golang-github-prometheus-promu 0 0.17.0-1.24.1
SUSE:Manager Client Tools 12 grafana 0 9.5.18-1.63.1
SUSE:Manager Client Tools 12 grafana 0 10.4.13-1.66.2
SUSE:Manager Client Tools 12 mgr-daemon 0 4.3.9-1.47.1
SUSE:Manager Client Tools 12 spacecmd 0 4.3.27-38.139.1
SUSE:Manager Client Tools 12 spacecmd 0 5.0.11-38.153.1
SUSE:Manager Client Tools 12 spacewalk-client-tools 0 4.3.19-52.98.1
SUSE:Manager Client Tools 12 spacewalk-koan 0 4.3.6-24.36.1
SUSE:Manager Client Tools 12 supportutils-plugin-salt 0 1.2.3-6.25.1
SUSE:Manager Client Tools 12 supportutils-plugin-susemanager-client 0 5.0.4-6.33.1
SUSE:Manager Client Tools 12 uyuni-common-libs 0 4.3.10-1.39.1
SUSE:Manager Client Tools 12 uyuni-tools 0 0.1.28-1.16.1
SUSE:Manager Client Tools 12-BETA golang-github-prometheus-alertmanager 0 0.26.0-4.18.2
SUSE:Manager Client Tools 12-BETA golang-github-prometheus-node_exporter 0 1.7.0-4.18.2
SUSE:Manager Client Tools 12-BETA golang-github-prometheus-promu 0 0.14.0-4.15.1
SUSE:Manager Client Tools 12-BETA grafana 0 9.5.16-4.27.1
SUSE:Manager Client Tools 12-BETA spacecmd 0 5.0.5-41.48.1
SUSE:Manager Client Tools 12-BETA spacewalk-client-tools 0 5.0.4-55.51.1
SUSE:Manager Client Tools 12-BETA supportutils-plugin-susemanager-client 0 5.0.3-9.21.1
SUSE:Manager Client Tools 12-BETA uyuni-tools 0 0.1.7-3.8.1
SUSE:Manager Client Tools 15 POS_Image-Graphical7 0 0.1.1710765237.46af599-150000.1.21.2
SUSE:Manager Client Tools 15 POS_Image-JeOS7 0 0.1.1710765237.46af599-150000.1.21.2
SUSE:Manager Client Tools 15 ansible 0 2.9.27-150000.1.17.2
SUSE:Manager Client Tools 15 dracut-saltboot 0 0.1.1710765237.46af599-150000.1.53.2
SUSE:Manager Client Tools 15 dracut-saltboot 0 0.1.1728559936.c16d4fb-150000.1.56.1
SUSE:Manager Client Tools 15 golang-github-prometheus-prometheus 0 2.53.3-150000.3.59.1
SUSE:Manager Client Tools 15 grafana 0 9.5.18-150000.1.63.2
SUSE:Manager Client Tools 15 grafana 0 10.4.13-150000.1.66.1
SUSE:Manager Client Tools 15 mgr-daemon 0 4.3.9-150000.1.47.2
SUSE:Manager Client Tools 15 spacecmd 0 4.3.27-150000.3.116.2
SUSE:Manager Client Tools 15 spacecmd 0 5.0.11-150000.3.130.1
SUSE:Manager Client Tools 15 spacewalk-client-tools 0 4.3.19-150000.3.89.2
SUSE:Manager Client Tools 15 spacewalk-koan 0 4.3.6-150000.3.33.2
SUSE:Manager Client Tools 15 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Manager Client Tools 15 supportutils-plugin-susemanager-client 0 5.0.4-150000.3.27.1
SUSE:Manager Client Tools 15 uyuni-common-libs 0 4.3.10-150000.1.39.2
SUSE:Manager Client Tools 15 uyuni-proxy-systemd-services 0 4.3.12-150000.1.21.2
SUSE:Manager Client Tools 15 uyuni-tools 0 0.1.28-150000.1.16.1
SUSE:Manager Client Tools 15-BETA POS_Image-Graphical7 0 0.1.1710765237.46af599-159000.3.24.2
SUSE:Manager Client Tools 15-BETA POS_Image-JeOS7 0 0.1.1710765237.46af599-159000.3.24.2
SUSE:Manager Client Tools 15-BETA ansible 0 2.9.27-159000.3.12.2
SUSE:Manager Client Tools 15-BETA dracut-saltboot 0 0.1.1710765237.46af599-159000.3.33.2
SUSE:Manager Client Tools 15-BETA grafana 0 9.5.16-159000.4.30.2
SUSE:Manager Client Tools 15-BETA spacecmd 0 5.0.5-159000.6.48.2
SUSE:Manager Client Tools 15-BETA spacewalk-client-tools 0 5.0.4-159000.6.54.2
SUSE:Manager Client Tools 15-BETA supportutils-plugin-susemanager-client 0 5.0.3-159000.6.21.2
SUSE:Manager Client Tools 15-BETA uyuni-tools 0 0.1.7-159000.3.8.1
SUSE:Manager Client Tools Beta for SLE Micro 5 golang-github-prometheus-node_exporter 0 1.5.0-159000.6.2.1
SUSE:Manager Client Tools Beta for SLE Micro 5 uyuni-tools 0 0.1.7-159000.3.8.1
SUSE:Manager Client Tools for SLE Micro 5 dracut-saltboot 0 0.1.1710765237.46af599-150000.1.53.2
SUSE:Manager Client Tools for SLE Micro 5 dracut-saltboot 0 0.1.1728559936.c16d4fb-150000.1.56.1
SUSE:Manager Client Tools for SLE Micro 5 uyuni-proxy-systemd-services 0 4.3.12-150000.1.21.2
SUSE:Manager Client Tools for SLE Micro 5 uyuni-tools 0 0.1.28-150000.1.16.1
SUSE:Manager Proxy 4.3 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Manager Proxy Module 4.3 ansible 0 2.9.27-150000.1.17.2
SUSE:Manager Proxy Module 4.3 uyuni-proxy-systemd-services 0 4.3.12-150000.1.21.2
SUSE:Manager Server 4.3 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
SUSE:Manager Tools 12 golang-github-prometheus-alertmanager 0 0.26.0-1.27.2
SUSE:Manager Tools 12 golang-github-prometheus-node_exporter 0 1.7.0-1.30.2
SUSE:Manager Tools 12 golang-github-prometheus-promu 0 0.14.0-1.18.1
SUSE:Manager Tools 12 grafana 0 9.5.18-1.63.1
SUSE:Manager Tools 12 mgr-daemon 0 4.3.9-1.47.1
SUSE:Manager Tools 12 spacecmd 0 4.3.27-38.139.1
SUSE:Manager Tools 12 spacewalk-client-tools 0 4.3.19-52.98.1
SUSE:Manager Tools 12 spacewalk-koan 0 4.3.6-24.36.1
SUSE:Manager Tools 12 uyuni-common-libs 0 4.3.10-1.39.1
SUSE:Manager Tools 12-BETA golang-github-prometheus-alertmanager 0 0.26.0-4.18.2
SUSE:Manager Tools 12-BETA golang-github-prometheus-node_exporter 0 1.7.0-4.18.2
SUSE:Manager Tools 12-BETA golang-github-prometheus-promu 0 0.14.0-4.15.1
SUSE:Manager Tools 12-BETA grafana 0 9.5.16-4.27.1
SUSE:Manager Tools 12-BETA spacecmd 0 5.0.5-41.48.1
SUSE:Manager Tools 12-BETA spacewalk-client-tools 0 5.0.4-55.51.1
SUSE:Manager Tools 12-BETA supportutils-plugin-susemanager-client 0 5.0.3-9.21.1
SUSE:Manager Tools 12-BETA uyuni-tools 0 0.1.7-3.8.1
SUSE:Manager Tools 15 POS_Image-Graphical7 0 0.1.1710765237.46af599-150000.1.21.2
SUSE:Manager Tools 15 POS_Image-JeOS7 0 0.1.1710765237.46af599-150000.1.21.2
SUSE:Manager Tools 15 ansible 0 2.9.27-150000.1.17.2
SUSE:Manager Tools 15 dracut-saltboot 0 0.1.1710765237.46af599-150000.1.53.2
SUSE:Manager Tools 15 grafana 0 9.5.18-150000.1.63.2
SUSE:Manager Tools 15 mgr-daemon 0 4.3.9-150000.1.47.2
SUSE:Manager Tools 15 spacecmd 0 4.3.27-150000.3.116.2
SUSE:Manager Tools 15 spacewalk-client-tools 0 4.3.19-150000.3.89.2
SUSE:Manager Tools 15 spacewalk-koan 0 4.3.6-150000.3.33.2
SUSE:Manager Tools 15 uyuni-common-libs 0 4.3.10-150000.1.39.2
SUSE:Manager Tools 15 uyuni-proxy-systemd-services 0 4.3.12-150000.1.21.2
SUSE:Manager Tools 15-BETA POS_Image-Graphical7 0 0.1.1710765237.46af599-159000.3.24.2
SUSE:Manager Tools 15-BETA POS_Image-JeOS7 0 0.1.1710765237.46af599-159000.3.24.2
SUSE:Manager Tools 15-BETA ansible 0 2.9.27-159000.3.12.2
SUSE:Manager Tools 15-BETA dracut-saltboot 0 0.1.1710765237.46af599-159000.3.33.2
SUSE:Manager Tools 15-BETA grafana 0 9.5.16-159000.4.30.2
SUSE:Manager Tools 15-BETA spacecmd 0 5.0.5-159000.6.48.2
SUSE:Manager Tools 15-BETA spacewalk-client-tools 0 5.0.4-159000.6.54.2
SUSE:Manager Tools 15-BETA supportutils-plugin-susemanager-client 0 5.0.3-159000.6.21.2
SUSE:Manager Tools 15-BETA uyuni-tools 0 0.1.7-159000.3.8.1
SUSE:Manager Tools Beta for SLE Micro 5 golang-github-prometheus-node_exporter 0 1.5.0-159000.6.2.1
SUSE:Manager Tools Beta for SLE Micro 5 uyuni-tools 0 0.1.7-159000.3.8.1
SUSE:Manager Tools for SLE Micro 5 dracut-saltboot 0 0.1.1710765237.46af599-150000.1.53.2
SUSE:Manager Tools for SLE Micro 5 uyuni-proxy-systemd-services 0 4.3.12-150000.1.21.2
Ubuntu:16.04:LTS grafana 0 No fix
Ubuntu:Pro:16.04:LTS grafana 0 No fix
Wolfi grafana 0 10.3.3-r0
go github.com/grafana/grafana 10.0.0 10.0.11
go github.com/grafana/grafana 10.1.0 10.1.7
go github.com/grafana/grafana 10.2.0 10.2.4
go github.com/grafana/grafana 10.3.0 10.3.3
go github.com/grafana/grafana 2.5.0 9.5.16
openSUSE:Leap 15.5 POS_Image-Graphical7 0 0.1.1710765237.46af599-150000.1.21.2
openSUSE:Leap 15.5 POS_Image-JeOS7 0 0.1.1710765237.46af599-150000.1.21.2
openSUSE:Leap 15.5 ansible 0 2.9.27-150000.1.17.2
openSUSE:Leap 15.5 dracut-saltboot 0 0.1.1710765237.46af599-150000.1.53.2
openSUSE:Leap 15.5 golang-github-prometheus-promu 0 0.14.0-150000.3.18.2
openSUSE:Leap 15.5 grafana 0 9.5.18-150200.3.56.1
openSUSE:Leap 15.5 mybatis 0 3.5.6-150200.5.6.1
openSUSE:Leap 15.5 spacecmd 0 4.3.27-150000.3.116.2
openSUSE:Leap 15.6 dracut-saltboot 0 0.1.1728559936.c16d4fb-150000.1.56.1
openSUSE:Leap 15.6 golang-github-prometheus-promu 0 0.17.0-150000.3.24.1
openSUSE:Leap 15.6 grafana 0 9.5.18-150200.3.56.1
openSUSE:Leap 15.6 grafana 0 10.4.13-150200.3.59.1
openSUSE:Leap 15.6 mybatis 0 3.5.6-150200.5.6.1
openSUSE:Leap 15.6 spacecmd 0 5.0.11-150000.3.130.1
openSUSE:Leap 15.6 supportutils-plugin-salt 0 1.2.3-150000.3.16.1
openSUSE:Leap 15.6 supportutils-plugin-susemanager-client 0 5.0.4-150000.3.27.1
openSUSE:Tumbleweed grafana 0 10.1.7-1.1

Related vulnerabilities