- New year's resolution: major refactoring of WebGoat to simplify the setup and improve building times.
- Move away from multi-project setup:
- This has a huge performance benefit when building the application. Build time locally is now
Total time: 42.469 s
(depends on your local machine of course) - No longer add Maven dependencies in several places
- H2 no longer needs to run as separate process, which solves the issue of WebWolf sharing and needing to configure the correct database connection.
- This has a huge performance benefit when building the application. Build time locally is now
- More explicit paths in html files to reference
adoc
files, less magic. - Integrate WebWolf in WebGoat, the setup was way too complicated and needed configuration which could lead to mistakes and a not working application. This also simplifies the Docker configuration as there is only 1 Docker image.
- Add WebWolf button in WebGoat
- Move all lessons into
src/main/resources
- WebGoat selects a port dynamically when starting. It will still start of port 8080 it will try another port to ease the user experience.
- WebGoat logs URL after startup:
Please browse to http://127.0.0.1:8080/WebGoat to get started...
- Simplify
Dockerfile
as we no longer need a script to start everything - Maven build now start WebGoat jar with Maven plugin to make sure we run against the latest build.
- Added
Initializable
interface for a lesson, an assignment can implement this interface to set it up for a specific user and to reset the assignment back to its original state when a reset lesson occurs. SeeBlindSendFileAssignment
for an example. - Integration tests now use the same user. This saves a lot of time as before every test used a different user which triggered the Flyway migration to set up the database schema for the user. This migration took a lot of time.
- Updated introduction lesson to WebWolf.
- Added language switch for support for multiple languages.
- Removed logic to start WebGoat on a random port when port
8080
is taken. We would loop until we found a free port. We simplified this to just start on the specified port. - #1039 New OWASP Top 10
- #1193 Vulnerable component lesson - java.desktop does not "opens java.beans" to unnamed module
- #1176 Minor: XXE lesson 12 patch not reset by 'lesson reset' while it IS reset by leaving/returning to lesson
- #1134 "Exploiting XStream" assignment does not work
- #1130 Typo: Using Indrect References
- #1101 SQL lesson not correct
- #1079 startup.sh issues of WebWolf - cannot connect to the WebGoat DB
- #1065 New lesson about logging
- Docker image now supports nginx when browsing to http://localhost a landing page is shown.
- #1039 jwt-7-Code review
- #1031 SQL Injection (intro) 5: Data Control Language (DCL) the wiki's solution is not correct
- #1027 Webgoat 8.2.1 Vulnerable_Components_12 Shows internal server error
- New Docker image for arm64 architecture is now available (for Apple M1)
- Add new zip slip lesson (part of path traversal)
- SQL lessons are now separate for each user, database are now per user and no longer shared across users
- Moved to Java 15 & Spring Boot 2.4 & moved to JUnit 5
- #974 SQL injection Intro 5 not solvable
- #962 SQL-Lesson 5 (Advanced) Solvable with wrong anwser
- #961 SQl-Injection lesson 4 not deleting created row
- #949 Challenge: Admin password reset always solvable
- #923 - Upgrade to Java 15
- #922 - Vulnerable components lesson
- #891 - Update the OWASP website with the new all-in-one Docker container
- #844 - Suggestion: Update navigation
- #843 - Bypass front-end restrictions: Field restrictions - confusing text in form
- #841 - XSS - Reflected XSS confusing instruction and success messages
- #839 - SQL Injection (mitigation) Order by clause confusing
- #838 - SQL mitigation (filtering) can only be passed by updating table
Special thanks to the following contributors providing us with a pull request:
- nicholas-quirk
- VijoPlays
- aolle
- trollingHeifer
- maximmasiutin
- toshihue
- avivmu
- KellyMarchewa
- NatasG
- gabe-sky
- Added new lessons for cryptography and path-traversal
- Extra content added to the XXE lesson
- Explanation of the assignments will be part of WebGoat, in this release we added detailed descriptions on how to solve the XXE lesson. In the upcoming releases new explanations will be added. If you want to contribute please create a pull request on Github.
- Docker improvements + docker stack for complete container with nginx
- Included JWT token decoding and generation, since jwt.io does not support None anymore
- #743 - Character encoding errors
- #811 - Flag submission fails
- #810 - Scoreboard for challenges shows csrf users
- #788 - strange copy in constructor
- #760 - Execution of standalone jar fails (Flyway migration step
- #766 - Unclear objective of vulnerable components practical assignment
- #708 - Seems like the home directory of WebGoat always use @project.version@
- #719 - WebGoat: 'Contact Us' email link in header is not correctly set
- #715 - Reset lesson doesn't reset the "HTML lesson" => forms stay succesful
- #725 - Vulnerable Components lesson 12 broken due to too new dependency
- #716 - On M26 @project.version@ is not "interpreted" #7
- #721 couldn't be able to run CSRF lesson 3: Receive Whitelabel Error Page
- #724 - Dead link in VulnerableComponents lesson 11
Special thanks to the following contributors providing us with a pull request:
- Satoshi SAKAO
- Philippe Lafoucrière
- Cotonne
- Tiago Mussi
- thegoodcrumpets
- Atharva Vaidya
- torleif
- August Detlefsen
- Choe Hyeong Jin
And everyone who provided feedback through Github.
Team WebGoat