Skip to content

jac389psu/java-goof

This branch is 56 commits behind snyk-labs/java-goof:main.

Folders and files

NameName
Last commit message
Last commit date
Sep 6, 2020
May 26, 2021
Jun 7, 2017
Apr 5, 2015
May 17, 2021
Jul 21, 2020
Jul 21, 2020
Apr 5, 2015
May 17, 2021
May 26, 2021
Jun 6, 2017
May 26, 2021
Jun 20, 2019
Jun 4, 2019
May 26, 2021

Repository files navigation

Java Goof

A vulnerable demo application, initially based on Ben Hassine's TodoMVC.

The goal of this application is to demonstrate through example how to find, exploit and fix vulnerable Maven packages.

This repo is still incomplete, a work in progress to support related presentations.

Build and run Todolist MVC

(from the original README)

Local build and run

Note that to run locally, you need JDK 8.

  1. Check out the project source code from github : git clone https://github.com/snyk/java-goof.git
  2. Open a terminal and run the following command from root directory : mvn install
  3. Choose a web framework to test and run it. For example : cd todolist-web-struts && mvn tomcat7:run (note: this example currently only copied the Struts demo)
  4. Browse the following URL : localhost:8080/
  5. You can register a new account or login using the following credentials : foo@bar.org / foobar

Build and run with docker-compose

Note, we run build on and a Tomcat 8.5 image here to support tomcat-rce base image demo.

docker-compose up --build
docker-compose down

Deploy Application on Heroku

Open source vulnerability exploit

TODO

Container base image vulnerability exploit

License

This repo is available released under the MIT License.

java-goof

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 58.7%
  • HTML 31.6%
  • CSS 4.0%
  • Python 3.0%
  • Shell 1.3%
  • Lua 1.2%
  • Dockerfile 0.2%