Welcome to the REST Security Learning Platform

This platform provides hands-on experience with REST API security vulnerabilities and authentication mechanisms. Choose from the available services below to explore different security challenges.

DOs and DON'Ts

  • Use the verifier that is specified in the exercise. If not specified, set the value to secure.
  • Solve the tasks by executing the attack in the task description. Using information from previous attacks is not allowed. For instance, a SQLi attack allows you to read the entire database and solve all tasks.
  • Use the provided OpenAPI files and consider only the paths described in this file.
  • During your API investigations, you may manipulate the database and thus change the behavior of the API. By calling the /reset endpoint, you can reset the database. This is required when you:
    • ... made a mistake and you need to start from the beginning.
    • ... start investigating a new verifier.

Vulnerable Users API

Easy - Medium

This API contains a user database with read/write access.

Username Password
natasha_romanoff blackwidow456

The permissions look as follows:

  • All normal users can authenticate, read, and update their own profile.
  • Normal users should not get any further information about any other users.
  • Only admin users can update the role of users.
  • Consider every attack as successful when you receive an answer from the server that you have an admin role.

Vulnerable Reports API

Medium - Hard

The API allows users to view, create, delete, and update reports. There are different departments with restricted access between them.

Username Password
bgreen password5
asmith password2

The permissions look as follows:

  • Employee users can view and update their own reports.
  • Employee can create reports only for their department.
  • Manager users can view and update all reports in their department.
  • Manager users can create reports only for their department.

Vulnerable Shop API

Hard

The API allows simulating an e-commerce marketplace.

Username Password
user1 password1
seller1 password3

The permissions look as follows:

  • Customer users can view the shop id.
  • Customer users can view product information: name, price, picture, id, description.
  • Seller users can update the products of their shop(s).
  • Customer and seller users are not allowed to see any information of other users.