ghsa-f4v7-3mww-9gc2
Vulnerability from github
Published
2025-01-13 16:58
Modified
2025-01-14 16:38
Summary
Keycloak allows unrestricted admin use of system and environment variables
Details

A security vulnerability has been identified that allows admin users to access sensitive server environment variables and system properties through user-configurable URLs. Specifically, when configuring backchannel logout URLs or admin URLs, admin users can include placeholders like ${env.VARNAME} or ${PROPNAME}. The server replaces these placeholders with the actual values of environment variables or system properties during URL processing.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-quarkus-server",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "26.0.8",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2024-11736",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-526",
      ],
      github_reviewed: true,
      github_reviewed_at: "2025-01-13T16:58:08Z",
      nvd_published_at: "2025-01-14T09:15:20Z",
      severity: "MODERATE",
   },
   details: "A security vulnerability has been identified that allows admin users to access sensitive server environment variables and system properties through user-configurable URLs. Specifically, when configuring backchannel logout URLs or admin URLs, admin users can include placeholders like ${env.VARNAME} or ${PROPNAME}. The server replaces these placeholders with the actual values of environment variables or system properties during URL processing.\n\n",
   id: "GHSA-f4v7-3mww-9gc2",
   modified: "2025-01-14T16:38:41Z",
   published: "2025-01-13T16:58:08Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/security/advisories/GHSA-f4v7-3mww-9gc2",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-11736",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2025:0299",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2025:0300",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/security/cve/CVE-2024-11736",
      },
      {
         type: "WEB",
         url: "https://bugzilla.redhat.com/show_bug.cgi?id=2328850",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/keycloak/keycloak",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "Keycloak allows unrestricted admin use of system and environment variables",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.