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

SSRF @ /Controllers/UsersController.cs #74

Open
msant262 opened this issue Jun 16, 2024 · 0 comments
Open

SSRF @ /Controllers/UsersController.cs #74

msant262 opened this issue Jun 16, 2024 · 0 comments

Comments

@msant262
Copy link

msant262 commented Jun 16, 2024

Checkmarx (SAST): SSRF
Security Issue: Read More about SSRF
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


The application sends a request to a remote server, for some resource, using url in /Controllers/UsersController.cs:83. However, an attacker can control the target of the request, by sending a URL or other data in Query at /Controllers/UsersController.cs:77.

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

    1. Query: /Controllers/UsersController.cs[77,40]
    2. ToString: /Controllers/UsersController.cs[77,53]
    3. url: /Controllers/UsersController.cs[77,14]
    4. url: /Controllers/UsersController.cs[83,66]
    Review result in Checkmarx One: SSRF

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