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-lessons/xxe/src/main/java/org/owasp/webgoat/xxe/Ping.java #1135

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

Comments

@AASMACMX
Copy link
Contributor

Log_Forging issue exists @ Ping.java in branch main

Method logRequest at line 49 of /webgoat-lessons/xxe/src/main/java/org/owasp/webgoat/xxe/Ping.java gets user input from element text. This element’s value flows through the code without being properly sanitized or validated, and is eventually used in writing an audit log in logRequest at line 51 of /webgoat-lessons/xxe/src/main/java/org/owasp/webgoat/xxe/Ping.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: 49


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