satyamchaurasiapersistent / JavaVulnerableLab

lab
0 stars 0 forks source link

CX Improper_Resource_Access_Authorization @ src/main/webapp/vulnerability/Messages.jsp [master] #82

Closed satyamchaurasiapersistent closed 2 years ago

satyamchaurasiapersistent commented 2 years ago

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

An I\O action occurs at src\main\webapp\vulnerability\Messages.jsp in 14 without authorization checks.

Severity: Low

CWE:285

Vulnerability details and guidance

Checkmarx

Training Recommended Fix

Lines: 14


Code (Line #14):

             rs=stmt.executeQuery("select * from UserMessages where recipient='"+session.getAttribute("user")+"'");

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.