satyamchaurasiapersistent / JavaVulnerableLab

lab
0 stars 0 forks source link

CX Improper_Resource_Access_Authorization @ src/main/webapp/vulnerability/idor/download.jsp [master] #88

Closed satyamchaurasiapersistent closed 2 years ago

satyamchaurasiapersistent commented 2 years ago

Improper_Resource_Access_Authorization issue exists @ src/main/webapp/vulnerability/idor/download.jsp in branch master

An I\O action occurs at src\main\webapp\vulnerability\idor\download.jsp in 24 without authorization checks.

Severity: Low

CWE:285

Vulnerability details and guidance

Checkmarx

Training Recommended Fix

Lines: 17 24


Code (Line #17):

            response.setContentLength((int)file.length());

Code (Line #24):

            while ((in != null) && ((length = in.read(byteBuffer)) != -1))

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.