Skip to main content
Public proof of conceptFix available

CVE-2023-1387

A public proof of concept exists; no exploitation attested.

  • Published2023-04-26
  • Fixed in9.4.9 · 9.3.13 · 9.2.17
  • WeaknessCWE-200

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Grafana is an open-source platform for monitoring and observability. Starting with the 9.1 branch, Grafana introduced the ability to search for a JWT in the URL query parameter auth_token and use it as the authentication token. By enabling the "url_login" configuration option (disabled by default), a JWT might be sent to data sources. If an attacker has access to the data source, the leaked token could be used to authenticate to Grafana.

Timeline

dates in UTC
  1. 2023-04-2614:15CVE publishedNVD

Versions per branch

NVD · OSV
Grafana
BranchAffectedFixed in
9.4≥ 9.4.0, < 9.4.99.4.9
9.3≥ 9.3.0, < 9.3.139.3.13
9.x≥ 9.1.0, < 9.2.179.2.17

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As GRAFANA, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Grafana
    Affected
    • ≥ 9.1.0, < 9.2.17fixed in 9.2.17semver
    • ≥ 9.3.0, < 9.3.13fixed in 9.3.13semver
    • ≥ 9.4.0, < 9.5.0fixed in 9.5.0semver
  • Grafana Enterprise
    Affected
    • ≥ 9.1.0, < 9.2.17fixed in 9.2.17semver
    • ≥ 9.3.0, < 9.3.13fixed in 9.3.13semver
    • ≥ 9.4.0, < 9.5.0fixed in 9.5.0semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-06-09

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ansibleSUSE:Manager Client Tools 15-BETAall versions · fixed in 2.9.27-159000.3.9.1
  • bindSUSE:Manager Client Tools for SLE Micro 5all versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise Server for SAP Applications 15 SP2all versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise Server 15 SP2-LTSSall versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise Server 15 SP1-LTSSall versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSall versions · fixed in 9.16.6-150000.12.65.1
  • bindSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSall versions · fixed in 9.16.6-150000.12.65.1

69 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-1387 Red Hat Product Security6 products fixed · 26 known affected

    grafana: JWT token leak to data source

    servicemesh-grafana as a component of OpenShift Service Mesh 2.1 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.1 · grafana as a component of Red Hat Ceph Storage 3 · +23 more

  • RHSA-2024:0746 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: new container image: rhceph-5.3

  • RHSA-2023:7741 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage 6.1 security, enhancements, and bug fix update

Full record on NVD

Fix

  1. Update Grafana to 9.4.9 · 9.3.13 · 9.2.17
  2. Vendor fix Red Hat Product Security RHSA-2024:0746 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/2789521 and https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/up…
  3. Vendor fix Red Hat Product Security RHSA-2023:7741 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/6 For supported configurations, refer to: https://access.redhat.…
  4. No fix available, says the vendor Red Hat Product Security CVE-2023-1387 · 3 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2023-1387 · 2 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2023-1387 · 21 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2023-04-26
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-1387?

Grafana is an open-source platform for monitoring and observability. Starting with the 9.1 branch, Grafana introduced the ability to search for a JWT in the URL query parameter auth_token and use it as the authentication token. By enabling the "url_login" configuration option (disabled by default), a JWT might be sent to data sources. If an attacker has access to the data source, the leaked token could be used to authenticate to Grafana.

Is CVE-2023-1387 actively exploited?

A proof-of-concept exploit exists for CVE-2023-1387, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-1387?

CVE-2023-1387 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running Grafana? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record