AkiraHojo / cxce-easybuggy

Apache License 2.0
0 stars 0 forks source link

CX Reflected_XSS_All_Clients @ src/main/java/org/t246osslab/easybuggy/vulnerabilities/OpenRedirectServlet.java [master] #8

Open AkiraHojo opened 4 years ago

AkiraHojo commented 4 years ago

Reflected_XSS_All_Clients issue exists @ src/main/java/org/t246osslab/easybuggy/vulnerabilities/OpenRedirectServlet.java in branch master

Method doPost at line 25 of src\main\java\org\t246osslab\easybuggy\vulnerabilities\OpenRedirectServlet.java gets user input for the ""userid"" element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method <%=session.getAttribute at line 24 of src\main\webapp\uid\serverinfo.jsp. This may enable a Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 27


Code (Line #27):

        String userid = req.getParameter("userid");

AkiraHojo commented 4 years ago

Issue still exists.

SUMMARY

Issue has total 1 vulnerabilities left to be fix (Please scroll to the top for more information)

AkiraHojo commented 4 years ago

Issue still exists.

SUMMARY

Issue has total 1 vulnerabilities left to be fix (Please scroll to the top for more information)