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

Log_Forging @ /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java #1130

Open
AASMACMX opened this issue Jul 20, 2023 · 0 comments

Comments

@AASMACMX
Copy link
Contributor

Log_Forging issue exists @ LabelService.java in branch main

Method fetchLabels at line 81 of /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java gets user input from element lang. This element’s value flows through the code without being properly sanitized or validated, and is eventually used in writing an audit log in fetchLabels at line 85 of /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java.

This may enable Log Forging.

Namespace: CxDemoInABoxRepos
Repository: Java-Webgoat
Repository Url: https://github.com/CxDemoInABoxRepos/Java-Webgoat
CxAST-Project: CxDemoInABoxRepos/Java-Webgoat
CxAST platform scan: 466e73ae-3cc9-415a-8383-b7e20e1af3be
Branch: main
Application: Java-Webgoat
Severity: LOW
State: TO_VERIFY
Status: RECURRENT
CWE: 117
Lines: 81


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