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

Relative_Path_Traversal @ BenchmarkTest01826.java #5466

Open
joaoreis-cx opened this issue Jan 4, 2023 · 0 comments
Open

Relative_Path_Traversal @ BenchmarkTest01826.java #5466

joaoreis-cx opened this issue Jan 4, 2023 · 0 comments

Comments

@joaoreis-cx
Copy link
Owner

Relative_Path_Traversal issue exists @ BenchmarkTest01826.java in branch master

Method doGet at line 41 of /src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01826.java gets dynamic data from the getRequestURL element. This element’s value then flows through the code and is eventually used in a file path for local disk access in doGet at line 45 of /src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01826.java. This may cause a Path Traversal vulnerability.

Namespace: joaoreis-cx
Repository: test1
Repository Url: https://github.com/joaoreis-cx/test1
CxAST-Project: joaoreis-cx/test1
CxAST platform scan: 53506292-d41c-434c-8792-e513700a84e7
Branch: master
Application: test1
Severity: MEDIUM
State: TO_VERIFY
Status: RECURRENT
CWE: 23
Lines: 41


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