satyamchaurasiapersistent / JavaVulnerableLab

lab
0 stars 0 forks source link

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

Closed satyamchaurasiapersistent closed 2 years ago

satyamchaurasiapersistent commented 2 years ago

Absolute_Path_Traversal issue exists @ src/main/webapp/vulnerability/idor/download.jsp in branch 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");

satyamchaurasiapersistent commented 2 years ago

Issue still exists.

satyamchaurasiapersistent commented 2 years ago

Issue still exists.

satyamchaurasiapersistent commented 2 years ago

Issue still exists.

satyamchaurasiapersistent commented 2 years ago

Issue still exists.