CVE-2024-35230: Gs web app Welcome And About GeoServer Pages Vulnerability

MODERATE
Advisory Identifier: GHSA-6pfc-w86r-54q6
CVSS 5.3
CWE-200
Published
Advisory Summary

CVE-2024-35230 is a MODERATE (CVSS 5.3) welcome and about geoserver pages vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Gs web app libraries in the Maven ecosystem. The issue involves welcome and about geoserver pages communicate version and revision information. Remediation is available by upgrading affected packages to version 2.25.1.

CVE-2024-35230 at a Glance

CVE Identifier CVE-2024-35230
GHSA Identifier GHSA-6pfc-w86r-54q6
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Gs web app
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-35230

To remediate this vulnerability, upgrade all affected Gs web app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.geoserver.web:gs-web-app fixed: 2.25.1
<dependency>
    <groupId>org.geoserver.web</groupId>
    <artifactId>gs-web-app</artifactId>
    <version>2.25.1</version>
</dependency>
org.geoserver.web:gs-web-core fixed: 2.25.1
<dependency>
    <groupId>org.geoserver.web</groupId>
    <artifactId>gs-web-core</artifactId>
    <version>2.25.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.geoserver.web

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-35230, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.geoserver.web

Analyze the terminal output to locate any version of Gs web app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.25.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.geoserver.web command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Gs web app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The welcome and about page includes version and revision information about the software in use (including library and components used). This information is sensitive from a security point of view because it allows software used by the server to be easily identified. ### Proof of Concept 1. Welcome page footer: <img width="432" alt="image" src="https://github.com/geoserver/geoserver/assets/629681/a7fd5151-55d5-432b-9d5d-79136833609f"> 2. About page *build information*. <img width="401" alt="image" src="https://github.com/geoserver/geoserver/assets/629681/59fcd8dd-eaee-4bf8-9578-a2a94b2864db"> ### Patches No patch presently available. ### Workarounds No workaround available, although the ADMIN_CONSOLE can be disabled completely. ### References * [About GeoServer](https://docs.geoserver.org/latest/en/user/webadmin/about.html)

CVE-2024-35230 Affected Gs web app Versions

2 component(s)
Fixed Versions:
2.25.1
Product / Package Ecosystem Affected Versions Fixed Version
org.geoserver.web:gs-web-app
Maven
≥ 2.0.0
< 2.25.1
2.25.1
org.geoserver.web:gs-web-core
Maven
≥ 2.0.0
< 2.25.1
2.25.1

References

Frequently Asked Questions

What is CVE-2024-35230?
CVE-2024-35230 is a security vulnerability in Gs web app involving Welcome and About GeoServer pages communicate version and revision information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Gs web app versions are affected?
Affected versions include releases prior to 2.25.1 across affected packages: org.geoserver.web:gs-web-app, org.geoserver.web:gs-web-core.
What version fixes CVE-2024-35230?
Upgrading to 2.25.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gs-web-app affected?
Yes, org.geoserver.web:gs-web-app is affected in releases prior to 2.25.1. Upgrade your dependency to 2.25.1 or later.
Is gs-web-core affected?
Yes, org.geoserver.web:gs-web-core is affected in releases prior to 2.25.1. Upgrade your dependency to 2.25.1 or later.
What is the CVSS score of CVE-2024-35230?
CVE-2024-35230 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-35230?
CVE-2024-35230 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2024-35230?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.geoserver.web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6pfc-w86r-54q6",
  "modified" : "2024-12-17T14:38:08Z",
  "published" : "2024-12-16T22:18:29Z",
  "aliases" : [ "CVE-2024-35230" ],
  "summary" : "Welcome and About GeoServer pages communicate version and revision information",
  "details" : "### Impact\n\nThe welcome and about page includes version and revision information about the software in use (including library and components used).\n\nThis information is sensitive from a security point of view because it allows software used by the server to be easily identified.\n\n### Proof of Concept\n\n1. Welcome page footer: \n   \n   <img width=\"432\" alt=\"image\" src=\"https://github.com/geoserver/geoserver/assets/629681/a7fd5151-55d5-432b-9d5d-79136833609f\">\n\n2. About page *build information*. \n\n   <img width=\"401\" alt=\"image\" src=\"https://github.com/geoserver/geoserver/assets/629681/59fcd8dd-eaee-4bf8-9578-a2a94b2864db\">\n\n### Patches\n\nNo patch presently available.\n\n### Workarounds\n\nNo workaround available, although the ADMIN_CONSOLE can be disabled completely.\n\n### References\n\n* [About GeoServer](https://docs.geoserver.org/latest/en/user/webadmin/about.html)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.web:gs-web-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.25.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.web:gs-web-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.25.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/geoserver/geoserver/security/advisories/GHSA-6pfc-w86r-54q6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-35230"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geoserver/geoserver/commit/5fd5f35ae176eff3cc4667a5cf48e4bf5dc4ea99"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geoserver/geoserver/commit/74fdab745a5deff20ac99abca24d8695fe1a52f8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geoserver/geoserver/commit/8cd1590a604a10875de67b04995f1952f631f920"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/geoserver/geoserver"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-16T22:18:29Z",
    "nvd_published_at" : "2024-12-16T23:15:06Z"
  }
}