CVE-2024-24749

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-24749
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24749.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-24749
Aliases
Published
2024-07-01T14:15:05Z
Modified
2024-10-08T04:02:13.225092Z
Summary
[none]
Details

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and 2.24.3, if GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the geoserver.war file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). Versions 2.23.5 and 2.24.3 contain a patch for the issue. Some workarounds are available. One may change from a Windows environment to a Linux environment; or change from Apache Tomcat to Jetty application server. One may also disable anonymous access to the embeded GeoWebCache administration and status pages.

References

Affected packages

Git / github.com/geowebcache/geowebcache

Affected ranges

Type
GIT
Repo
https://github.com/geowebcache/geowebcache
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.7.2
0.8.3

1.*

1.0-RC0
1.0-RC1
1.0-alpha0
1.0-beta
1.0-beta0
1.0-beta1
1.0-beta2
1.0-beta3
1.10-M0
1.10-beta
1.11-beta
1.12-beta
1.13-beta
1.14-RC
1.15-M0
1.2.4
1.2.5_GS-2.1-RC3
1.3-RC1
1.6.0-RC1
1.6.0-beta
1.7-beta
1.8-M0
1.8-beta
1.9-M0
1.9-beta2

gs-2.*

gs-2.1-RC1

pre-1.*

pre-1.2.3