Skip to content

CSP Bypass can't be solved with Hastebin anymore (once again) #539

@c0mput3r5c13nt15t

Description

@c0mput3r5c13nt15t

Describe the bug
Hastebin which was the alternative to pastebin changed their API to require authentication for getting the raw content (see docs). You can't however add the required token as a URL parameter, but instead have to set the header, which makes the challenge unsolvable. (Unless you use something like Burp Suite to capture the request and change the header, which is not meant to be part of the challenge.)

To Reproduce
Steps to reproduce the behaviour:

  1. Go to hastebin
  2. Create a script
  3. Share it
  4. Replace /share/ with /raw/
  5. Be disappointed because you get a 401

Expected behaviour
You would expect to just get the raw content.

Screenshots
This is the error message you get when trying to access the raw content
Screenshot_20230301_224724

Additional context
Hastebin docs for reference

Links to the hastebin
https://hastebin.com/share/omicituwup.scss
https://hastebin.com/raw/omicituwup.scss (will give you the shown error message)

Hope it helps and that I didn't overlook anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions