satyamchaurasiapersistent / JavaVulnerableLab

lab
0 stars 0 forks source link

CX Incorrect_Permission_Assignment_For_Critical_Resources @ src/AddPage.java [master] #149

Open satyamchaurasiapersistent opened 1 year ago

satyamchaurasiapersistent commented 1 year ago

Incorrect_Permission_Assignment_For_Critical_Resources issue exists @ src/AddPage.java in branch master

*A file is created on the file system by f in src\AddPage.java at line 45 with potentially dangerous permissions. Similarity ID: 1998520967

A file is created on the file system by out in src\AddPage.java at line 37 with potentially dangerous permissions. Similarity ID: -299266377*

Severity: Low

CWE:732

Checkmarx

Training Recommended Fix

Lines: 37 45


Code (Line #37):

PrintWriter out = response.getWriter();

Code (Line #45):

File f=new File(filePath);

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.

satyamchaurasiapersistent commented 1 year ago

Issue still exists.