Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CX CSRF @ src/main/webapp/vulnerability/idor/change-email.jsp [refs/heads/master] #201

Open
github-actions bot opened this issue Mar 14, 2022 · 1 comment

Comments

@github-actions
Copy link

github-actions bot commented Mar 14, 2022

CSRF issue exists @ src/main/webapp/vulnerability/idor/change-email.jsp in branch refs/heads/master

Method email=request.getParameter at line 27 of src\main\webapp\vulnerability\idor\change-email.jsp gets a parameter from a user request from ""email"". This parameter value flows through the code and is eventually used to access application state altering functionality. This may enable Cross-Site Request Forgery (CSRF).

Severity: Medium

CWE:352

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 27 28


Code (Line #27):

   String email=request.getParameter("email");

Code (Line #28):

   String id=request.getParameter("id");

@github-actions github-actions bot reopened this Mar 14, 2022
@github-actions
Copy link
Author

Issue still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants