Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/grafana/grafana
  4. ›
  5. CVE-2023-6152

CVE-2023-6152: Email Validation Bypass And Preventing Sign Up From Email's Owner

February 13, 2024 (updated February 18, 2025)

Email validation can easily be bypassed because verify_email_enabled option enable email validation at sign up only. A user changing it’s email after signing up (and verifying it) can change it without verification in /profile. This can be used to prevent legitimate owner of the email address from signing up.

Another way to prevent email’s owner from signing up is by setting Username as an email: When a new user is registrering, they can set two different email addresses in the Email and Username field, technically having 2 email addresses (because Grafana handles usernames and emails the same in some situations), but only the former is validated.

Click to open external image

Here user a prevents owner of bar@example.com to signup.

References

  • github.com/advisories/GHSA-3hv4-r2fm-h27f
  • github.com/grafana/bugbounty/security/advisories/GHSA-3hv4-r2fm-h27f
  • github.com/grafana/grafana
  • grafana.com/security/security-advisories/cve-2023-6152
  • nvd.nist.gov/vuln/detail/CVE-2023-6152
  • security.netapp.com/advisory/ntap-20250214-0008

Code Behaviors & Features

Detect and mitigate CVE-2023-6152 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 9.5.16, all versions starting from 10.0.0 before 10.0.11, all versions starting from 10.1.0 before 10.1.7, all versions starting from 10.2.0 before 10.2.4, all versions starting from 10.3.0 before 10.3.3

Fixed versions

  • 9.5.16
  • 10.0.11
  • 10.1.7
  • 10.2.4
  • 10.3.3

Solution

Upgrade to versions 10.0.11, 10.1.7, 10.2.4, 10.3.3, 9.5.16 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/grafana/grafana/CVE-2023-6152.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.