mgonzalezcx / WebGoat

WebGoat is a deliberately insecure application
https://webgoat.github.io/WebGoat/
Other
0 stars 0 forks source link

CX Cleartext_Submission_of_Sensitive_Information @ webgoat-lessons/jwt/src/main/java/org/owasp/webgoat/jwt/JWTVotesEndpoint.java [develop] #12

Open mgonzalezcx opened 2 years ago

mgonzalezcx commented 2 years ago

Cleartext_Submission_of_Sensitive_Information issue exists @ webgoat-lessons/jwt/src/main/java/org/owasp/webgoat/jwt/JWTVotesEndpoint.java in branch develop

Potentially sensitive personal information JWT_PASSWORD, at line 96 of webgoat-lessons\jwt\src\main\java\org\owasp\webgoat\jwt\JWTVotesEndpoint.java, is sent over the unsecured network via cookie, in login of webgoat-lessons\jwt\src\main\java\org\owasp\webgoat\jwt\JWTVotesEndpoint.java, line 96. This could expose this personal data and allow it to be stolen.

Severity: Medium

CWE:319

Vulnerability details and guidance

Internal Guidance

Checkmarx

Training Recommended Fix

Lines: 103


Code (Line #103):

                    .signWith(io.jsonwebtoken.SignatureAlgorithm.HS512, JWT_PASSWORD)

mgonzalezcx commented 2 years ago

Issue still exists.