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

CX Absolute_Path_Traversal @ src/main/webapp/vulnerability/idor/download.jsp [refs/heads/master] #198

Open
github-actions bot opened this issue Mar 14, 2022 · 1 comment

Comments

@github-actions
Copy link

github-actions bot commented Mar 14, 2022

Absolute_Path_Traversal issue exists @ src/main/webapp/vulnerability/idor/download.jsp in branch refs/heads/master

Method request.getParameter at line 11 of src\main\webapp\vulnerability\idor\download.jsp gets dynamic data from the ""file"" element. This element’s value then flows through the code and is eventually used in a file path for local disk access in = at line 18 of src\main\webapp\vulnerability\idor\download.jsp. This may cause a Path Traversal vulnerability.

Severity: Medium

CWE:36

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 11


Code (Line #11):

            filePath = request.getParameter("file");

@github-actions github-actions bot reopened this Mar 14, 2022
@github-actions
Copy link
Author

Issue still exists.

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

No branches or pull requests

0 participants