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

Add SSRF sinks and issue description #4592

Merged
merged 1 commit into from Nov 18, 2020
Merged

Conversation

LukasReschke
Copy link
Contributor

@LukasReschke LukasReschke commented Nov 17, 2020

This adds the sinks and issue description for:

  • curl_init
  • curl_setopt: Technically there is a bunch of settings that are not security sensitive. But I highly doubt there are realistic scenarios where someone has the third parameter user-controlled.

Fixes #4594

## Further resources

- [OWASP Wiki for Server Side Request Forgery](https://owasp.org/www-community/attacks/Server_Side_Request_Forgery)
- [CWE-918](https://cwe.mitre.org/data/definitions/918)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to keep this in the format that I'd like to see also for all other categories. (#4590)

LMK what you think.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@muglug muglug merged commit 5ba4681 into vimeo:master Nov 18, 2020
danog pushed a commit to danog/psalm that referenced this pull request Jan 29, 2021
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

Successfully merging this pull request may close these issues.

[Security] Add support for SSRF
2 participants