cve.bz

CVE-2024-10492 External Control of File Name or Path

2.7 lowEPSS 0.7%Fix available

Low (2.7). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-quarkus-server 26.0.6.

On this page
A vulnerability was found in Keycloak. A user with high privileges could read sensitive information from a Vault file that is not within the expected context. This attacker must have previous high access to the Keycloak server in order to perform resource creation, for example, an LDAP provider configuration and set up a Vault read file, which will only inform whether that file exists or not.

Severity

CVSS 3.0

2.7 low
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-73 External Control of File Name or Path
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-quarkus-server (Maven): fixed in 26.0.6
  • Red Hat Red Hat build of Keycloak 24: fixed in 24.0.9-1
  • Red Hat Red Hat build of Keycloak 24: fixed in 24-18
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0.6-2
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0-5
  • Red Hat Red Hat build of Keycloak 26.0: fixed in 26.0-6

Ask an AI about this CVE

Show the promptExplain CVE-2024-10492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10492?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-10492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 2424.0.9-1
Red Hat build of Keycloak 2424-18
Red Hat build of Keycloak 26.026.0.6-2
Red Hat build of Keycloak 26.026.0-5
Red Hat build of Keycloak 26.026.0-6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5545-r4hg-rj4mMavenorg.keycloak:keycloak-quarkus-server<26.0.626.0.6
GHSA-5545-r4hg-rj4mMavenorg.keycloak:keycloak-quarkus-server>=25.0.0 <26.0.626.0.6

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat has evaluated this vulnerability. This issue only affects the keycloak-quarkus-server, which is present on the Red Hat Build of Keycloak. No other products are affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Keycloak 24rhbk/keycloak-operator-bundle:24.0.9-1Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24rhbk/keycloak-rhel9:24-18Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24rhbk/keycloak-rhel9-operator:24-18Fixed 2024-11-21RHSA-2024:10175
Red Hat build of Keycloak 24.0.9keycloak-quarkus-serverFixed 2024-11-21RHSA-2024:10176
Red Hat build of Keycloak 26.0rhbk/keycloak-operator-bundle:26.0.6-2Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0rhbk/keycloak-rhel9:26.0-5Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0rhbk/keycloak-rhel9-operator:26.0-6Fixed 2024-11-21RHSA-2024:10177
Red Hat build of Keycloak 26.0.6keycloak-quarkus-serverFixed 2024-11-21RHSA-2024:10178
Red Hat JBoss Enterprise Application Platform 8keycloak-quarkus-serverNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-quarkus-serverNot affected
Red Hat Single Sign-On 7keycloak-quarkus-serverOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-10492.

Attack patterns (CAPEC)

  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON