CWE
22
Advisory Published
Updated

REDHAT-BUG-2312060: Path Traversal

First published: Fri Sep 13 2024(Updated: )

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions&nbsp;to serve static resources * resource handling is explicitly configured with a FileSystemResource&nbsp;location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall <a href="https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html">https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html</a> &nbsp;is in use * the application runs on Tomcat or Jetty

Affected SoftwareAffected VersionHow to fix
Spring Framework

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2312060?

    REDHAT-BUG-2312060 is classified as a high-severity vulnerability due to the potential for path traversal attacks.

  • How do I fix REDHAT-BUG-2312060?

    To mitigate the impact of REDHAT-BUG-2312060, update the Spring Framework to the latest version where the vulnerability is patched.

  • What are the potential impacts of REDHAT-BUG-2312060?

    The potential impacts of REDHAT-BUG-2312060 include unauthorized access to sensitive files on the server.

  • Which applications are affected by REDHAT-BUG-2312060?

    Applications using the Spring Framework with WebMvc.fn or WebFlux.fn for serving static resources are affected by REDHAT-BUG-2312060.

  • Who should be concerned about REDHAT-BUG-2312060?

    Developers and system administrators using affected versions of the Spring Framework should be concerned about REDHAT-BUG-2312060.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203