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 @ BenchmarkTest00219.java #5465

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

Relative_Path_Traversal @ BenchmarkTest00219.java #5465

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

Comments

@joaoreis-cx
Copy link
Owner

Relative_Path_Traversal issue exists @ BenchmarkTest00219.java in branch master

Method doPost at line 44 of /src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00219.java gets dynamic data from the getHeaderNames element. This element’s value then flows through the code and is eventually used in a file path for local disk access in doPost at line 73 of /src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00219.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: 44


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