Skip to content

Instantly share code, notes, and snippets.

@JunMing27
Created December 20, 2024 14:01
Show Gist options
  • Save JunMing27/651998a34d57fbf71ff9d25386f1da0f to your computer and use it in GitHub Desktop.
Save JunMing27/651998a34d57fbf71ff9d25386f1da0f to your computer and use it in GitHub Desktop.
Server-Side Request Forgery (SSRF) on browsershot

Name: Server-Side Request Forgery (SSRF) on spatie/browsershot

Affected Project: spatie/browsershot

Github Repo: https://github.com/spatie/browsershot

Version: 5.0.3

Payloads:

http(s)://localhost:{PORT}

http(s)://127.0.0.1:{PORT}

http(s)://0.0.0.0:{PORT}

Attack Demonstration (POC)

  1. Prepare the script and setup a webserver image

  2. Launch the script and result image

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