Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trust_Boundary_Violation_in_Session_Variables @ EncodingAssignment.java #202

Open
nitinp1 opened this issue Sep 14, 2022 · 0 comments
Open

Comments

@nitinp1
Copy link
Owner

nitinp1 commented Sep 14, 2022

Trust_Boundary_Violation_in_Session_Variables issue exists @ EncodingAssignment.java in branch main

Method getBasicAuth at line 47 of /webgoat-lessons/crypto/src/main/java/org/owasp/webgoat/crypto/EncodingAssignment.java gets user input from element request. This element’s value flows through the code without being properly sanitized or validated and is eventually stored in the server-side Session object, in getBasicAuth at line 54 of /webgoat-lessons/crypto/src/main/java/org/owasp/webgoat/crypto/EncodingAssignment.java. This constitutes a Trust Boundary Violation.

Namespace: nitinp1
Repository: WebGoat
Repository Url: https://github.com/nitinp1/WebGoat
CxAST-Project: nitinp1/WebGoat
CxAST platform scan: 371cf28e-43c8-4e90-86fa-65d2f0911dc1
Branch: main
Application: WebGoat
Severity: LOW
State: TO_VERIFY
Status: RECURRENT
CWE: 501
Lines: 47


References
Read more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant