sonatype-nexus-community / codetocloud-workshop

Other
1 stars 8 forks source link

Passwords stored using insecure encoder #53

Open samschurter opened 1 year ago

samschurter commented 1 year ago

Summary

WebSecurityConfig.java uses org.springframework.security.crypto.password.NoOpPasswordEncoder which is considered insecure and only exists for testing purposes where working with plaintext passwords may be useful.

Details

PoC

Complete instructions, including specific configuration details, to reproduce the vulnerability.

Impact

An attacker could access all user data if passwords are leaked