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

CSRF @ /Controllers/PasswordResetsController.cs #57

Open
msant262 opened this issue Jan 26, 2024 · 0 comments
Open

CSRF @ /Controllers/PasswordResetsController.cs #57

msant262 opened this issue Jan 26, 2024 · 0 comments

Comments

@msant262
Copy link

msant262 commented Jan 26, 2024

Checkmarx (SAST): CSRF
Security Issue: Read More about CSRF
Checkmarx Project: Nova-8/Damm-Vulnerable-CSharp-API
Repository URL: https://github.com/Nova-8/Damm-Vulnerable-CSharp-API
Branch: master
Scan ID: 2f22541b-da6c-459f-9285-99da61e0ed7d


Method Post at line 63 of /Controllers/PasswordResetsController.cs gets a parameter from a user request from Post. 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).

Result 1:
Severity: MEDIUM
State: TO_VERIFY
Status: RECURRENT
Attack Vector:

    1. Post: /Controllers/PasswordResetsController.cs[63,28]
    Review result in Checkmarx One: CSRF

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

No branches or pull requests

1 participant