---
title: "Web Attack: Spring MVC Directory Traversal Vulnerability CVE-2018-1271"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=33567
description: Attack Signature Detail Page
---

# Web Attack: Spring MVC Directory Traversal Vulnerability CVE-2018-1271

## Severity: High

This attack could pose a serious security threat. You should take immediate action to stop any damage or prevent further damage from happening.

## Description

A Directory Traversal vulnerability in Spring MVC, Spring Framework versions 5.0 to 5.0.4, 4.3 to 4.3.14, and older unsupported versions which could help a malicious user to send a request using a specially crafted URL that can lead a directory traversal attack.

## Additional Information

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.

## Affected

- Spring Framework versions 5.0 to 5.0.4, 4.3 to 4.3.14, and older unsupported versions

## Response

Update to latest available version

## Additional Resources

- [CVE-2018-1271](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271)
- [SecurityFocus BID: 103699](http://www.securityfocus.com/bid/103699)
