Comments (7)
Did you rebuild the image after replacing the FROM statement?
from webgoat.
This is a legit issue. It is reproducible by running the Docker image.
I suspect the cause is the usage of the docker.io/eclipse-temurin:19-jre-focal
base image for the container is to blame. This exercise tries to use JDK functionality which is not included in the JRE. While this is good practice for a secure application since it limits the attack surface, the JDK appears to be a necessity for this exercise.
I tried building the image using docker.io/eclipse-temurin:19-jdk-focal
and this appears to fix the issue.
from webgoat.
Hello,
I am not able to reproduce the issue.
Just remove the return sentence from your code and submit it to WebGoat to complete the lesson.
Regards.
from webgoat.
Hello @aolle
As i mentioned this issue occurred with the Docker image, i didn't face such issue when i cloned and earlier version of WebGoat straight from GitHub. This is my 1st time using WebGoat docker image from DockerHub
I will remove the return statement form my code as you did and test, not sure this is the cause but hope it work.
I'll attach screens of the error message if I'm still getting the same error.
from webgoat.
This is a legit issue. It is reproducible by running the Docker image.
I suspect the cause is the usage of the
docker.io/eclipse-temurin:19-jre-focal
base image for the container is to blame. This exercise tries to use JDK functionality which is not included in the JRE. While this is good practice for a secure application since it limits the attack surface, the JDK appears to be a necessity for this exercise.I tried building the image using
docker.io/eclipse-temurin:19-jdk-focal
and this appears to fix the issue.
Thank you so much @jordithijsman. The script was simple enough i tried in sample app with with JDK11 and SQLite db and it was working, had a feeling it was docker image but couldn't figure out what exactly should i look for.
from webgoat.
Hello @jordithijsman, i replaced the image with docker.io/eclipse-temurin:19-jdk-focal but it still shows "compiler" is null when i was trying to submit the anwser, do i have to replace something other than the FROM statement in the docker file?
from webgoat.
oh you are right, i am new to docker and i thought it will build the image for me when i do docker run, thank you!
from webgoat.
Related Issues (20)
- (A7) Identity and auth failure, password reset, task #6 HOT 3
- unable to upload file to webwolf HOT 8
- Error page should contain more details
- Test HOT 1
- Quiz not showing HOT 5
- Email client should be part of WebGoat
- Form submission error on Password reset lesson 6 HOT 1
- Dockerfile failed to build HOT 1
- Report Card Not Reflection Progress HOT 1
- Test failure in XXE in jdk21 γwin10 ;Tests run: 244, Failures: 2, Errors: 0, Skipped: 2 HOT 3
- How to run WebWolf on different port ? HOT 1
- List all vulnerable code for SAST tooling HOT 2
- WebWolf lesson loads instead of every lesson HOT 2
- Logfile should also be written to home directory
- Debugging integration tests from IDE difficult HOT 1
- Do we need to support TLS in WebGoat?
- WebWolf/Landing page Error HOT 1
- Hi! Added menu support and translated all lectures from English to Russian, Serbian, Chinese (zh), Hindi, and Spanish languages. HOT 2
- Integrity constraint violation: unique constraint or index violation (Database error: DataIntegrityViolationException) HOT 2
- Failed to define the ip address HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgoat.