satyamchaurasiapersistent / JavaVulnerableLab

lab
0 stars 0 forks source link

CX Improper_Resource_Access_Authorization @ src/AddPage.java [master] #155

Open satyamchaurasiapersistent opened 1 year ago

satyamchaurasiapersistent commented 1 year ago

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

*An I\O action occurs at src\AddPage.java in 52 without authorization checks. Similarity ID: 1450461380

An I\O action occurs at src\AddPage.java in 53 without authorization checks. Similarity ID: -1550489180*

Severity: Low

CWE:285

Checkmarx

Training Recommended Fix

Lines: 52 53


Code (Line #52):

BufferedWriter bw=new BufferedWriter(new FileWriter(f.getAbsoluteFile()));

Code (Line #53):

bw.write(content);

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.