Skip to content

samibutt77/OWASP-API-Security-Lab-Java-Spring-Boot-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

OWASP API Security Lab – Spring Boot

A deliberately vulnerable REST API for students to identify and fix security issues.
Implemented fixes for OWASP API Security Top 10 (2023) vulnerabilities using:

  • Java 17 & Spring Boot
  • JWT for authentication
  • BCrypt for password hashing
  • DTOs to prevent sensitive data exposure
  • Role-based access control & ownership checks
  • Rate limiting (Bucket4j / Resilience4j)
  • Input validation & error handling

Outcome

  • Fixed BOLA/IDOR, broken auth, mass assignment, excessive data exposure, and more.
  • Ensured secure, production-ready API while preserving functionality.

About

Secured a vulnerable Spring Boot REST API by fixing OWASP API Security Top 10 (2023) issues, implementing JWT authentication, role-based access control, input validation, DTOs, and rate limiting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages