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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added: dynamic images (JPG/PNG) generator with SSRF token #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ndelphit
Copy link

Hey @teknogeek 馃憢

Motivation

While playing with your utility I noticed that when I send a request to routes:

  • GET /abc.jpg
  • GET /abc.gif

The server is returning an image with size (1x1). And I think it will cool to add as a minimum full-size image in response.

Because in some type of Content-Based SSRF (like in Screenshot / PDF generators ) it is difficult for the attacker to check whether he was able to get an image from the internal infrastructure. If the image only takes 1x1 pixel. In this case, it is easy not to notice that the vulnerability has been successfully exploited.

Changes

In this pull-request I have added:

  • Added: generator which is dynamically generated images (JPG/PNG - 1024/768 size) with SSRF token while utility startup.
  • Updated: README.md.

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.

None yet

1 participant