Sign inSign up

sasanlabs/owasp-vulnerableapp-jsp

By sasanlabs

•Updated over 3 years ago

Image
1

10K+

sasanlabs/owasp-vulnerableapp-jsp repository overview

⁠VulnerableApp-jsp VulnerableApp-jsp

License PRs Welcome

VulnerableApp-jsp is a Vulnerable Application containing vulnerabilities specific to JSP technology stack. It is part of the farm of Vulnerable Applications provided by SasanLabs⁠. This Vulnerable Application utilises the facilities provided by Owasp VulnerableApp-Facade⁠ and it is just exposing bunch of Api's which are vulnerable to various attacks. User Interface for VulnerableApp-jsp is provided by Owasp VulnerableApp-Facade⁠.

⁠How to run the project

As VulnerableApp-jsp doesn't provide user interface and relies on Owasp VulnerableApp-facade⁠ hence you need to start it using instructions: VulnerableApp-Facade simple start⁠

⁠How to contribute to the project

There are 2 ways to build and run this project:

  1. For building the project from source code:
1. Install [Apache Tomcat Server](https://tomcat.apache.org/download-90.cgi)
2. Execute following command for project root: `./gradlew war` 
3. Navigate to `build/libs/`
4. Move the *.war file to `tomcat/webapps/` directory
5. Start Apache Tomcat Server
  1. For building the docker image and then using VulnerableApp-Facade⁠ to test the working of the application.
1. Build the docker image with command: docker buildx build --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x -t sasanlabs/owasp-vulnerableapp-jsp:latest . --push 
2. Navigate to VulnerableApp-Facade and run it as described in VulnerableApp-Facade#simple-start
⁠Api structure for testing:

General URL pattern we follow for api's is: http://<baseurl>:<port>/VulnerableApp-jsp/<Vulnerability type>/<Vulnerability level>

⁠Example URL:

http://<baseurl>:<port>/VulnerableApp-jsp/FileUpload/LEVEL_1

⁠Contact

Please raise a github issue for enhancement/issues in VulnerableApp-jsp or send email to [email protected]⁠ regarding queries we will try to resolve issues asap.

Tag summary

Content type

Image

Digest

sha256:9996c0021…

Size

71.1 MB

Last updated

over 3 years ago

docker pull sasanlabs/owasp-vulnerableapp-jsp