smmclaughlin / CxFlowBodgeit

0 stars 0 forks source link

CX Session_Fixation @ root/logout.jsp [master] #20

Open smmclaughlin opened 2 years ago

smmclaughlin commented 2 years ago

Session_Fixation issue exists @ root/logout.jsp in branch master

Method session.setAttribute at line 3 of root\logout.jsp performs user authentication without terminating existing sessions. This may enable Session Fixation.

Severity: Medium

CWE:384

Checkmarx

Training Recommended Fix

Lines: 3 4 5


Code (Line #3):

session.setAttribute("username", null);

Code (Line #4):

session.setAttribute("usertype", null);

Code (Line #5):

session.setAttribute("userid", null);

smmclaughlin commented 2 years ago

Issue still exists.