Java CI with Maven

(Protected) Java Goof

##Dan wuz here

A protect by design demo application, initially based on Ben Hassine's TodoMVC, and protected by Cloud One Application Security.

The goal of this application is to demonstrate through example how to find, exploit and fix vulnerable Maven packages, while protecting its runtime with Trend Micro's Cloud One Application Security.

This repo is still incomplete and is meant solely for educational demonstrations.

Build and run Todolist MVC

(from the original README.md)

Note that to run locally, you need JDK 8.

  1. Check out the project source code from github : git clone github.com/andresark/java-goof-trend.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

Running with docker-compose

docker-compose up --build
docker-compose down

Exploiting the app

Check the /exploits directory for some ready-to-use exploits.

Support

This is an Open Source community project. Project contributors may be able to help, depending on their time and availability. Please be specific about what you're trying to do, your system, and steps to reproduce the problem.

For bug reports or feature requests, please open an issue. You are welcome to contribute.

Official support from Trend Micro is not available. Individual contributors may be Trend Micro employees, but are not official support.

License

This repo is available released under the MIT License.