Skip to content
Subdomain takeover Disclosed report Intermediate

Subdomain takeover #2 at info.hacker.one

A previous fix for a subdomain takeover on info.hacker.one could be bypassed because the page-editing request accepted a domain parameter that let a user attach any domain to their page. An attacker could claim the subdomain and host their own content on it, enabling phishing or credential theft.

ak1t4 Follow

Originally disclosed on HackerOne

  • Triaged in 29 hours
  • Fixed in 20 days
  • Paid in 31 days
  • Disclosed after 2 months

Summary:

Hi team, looking the fix released from unbounce team at https://hackerone.com/reports/202767 i've been able to bypass it and takeover again the subdomain info.hacker.one with a new Vulnerable-Endpoint at UnbouncePages App

Actual Dns Entry:

Captura_de_pantalla_2017-02-25_a_las_22.01.18.png
Captura_de_pantalla_2017-02-25_a_las_22.01.18.png From the original on HackerOne

Steps To Reproduce & New PoC for HackerOne

  1. I have claimed the domain and placed a new-page for PoC validation located under:

Go to -> http://info.hacker.one/full-takeover/ 2) You see the alert box and the subdomain takeover

Captura_de_pantalla_2017-02-25_a_las_21.56.11.png
Captura_de_pantalla_2017-02-25_a_las_21.56.11.png From the original on HackerOne
Captura_de_pantalla_2017-02-25_a_las_21.56.23.png
Captura_de_pantalla_2017-02-25_a_las_21.56.23.png

[ Unbounce Pages Team Section ]

Reproduction Steps PoC at new Vulnerable-Endpoint

  1. Login to account
  2. Create a New Page under any domain
  3. Go to "Edit Notes"
  4. Fill with any input
  5. Intercept Request with burp or another proxy
  6. Add this body params:

&page%5Bdescription%5D=test&page%5Bdomain%5D=anydomain.com 7) Refresh page - You see the New Claimed Domain at Url Page

Captura_de_pantalla_2017-02-25_a_las_23.02.35.png
Captura_de_pantalla_2017-02-25_a_las_23.02.35.png From the original on HackerOne
Captura_de_pantalla_2017-02-25_a_las_23.08.03.png
Captura_de_pantalla_2017-02-25_a_las_23.08.03.png

[ POST REQUEST ]

POST /2235922/pages/01a8aadb-0198-4fa6-815d-1ae641f0b49e HTTP/1.1 Host: app.unbounce.com Connection: close Content-Length: 119 X-NewRelic-ID: XQQAUl9ADAQFV1hW Origin: https://app.unbounce.com X-CSRF-Token: 1FSc6oHzQZPfCrlSKHCSXqwyCRn5q7YxTbkva6wQ2oI= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Accept: / X-Requested-With: XMLHttpRequest Referer: https://app.unbounce.com/2235922/pages/01a8aadb-0198-4fa6-815d-1ae641f0b49e Accept-Encoding: gzip, deflate, br Accept-Language: es-ES,es;q=0.8,fi;q=0.6,en;q=0.4 Cookie: ...

utf8=%E2%9C%93&_method=put&authenticity_token=1FSc6oHzQZPfCrlSKHCSXqwyCRn5q7YxTbkva6wQ2oI%3D&page%5Bdescription%5D=test&page%5Bdomain%5D=anydomain.com&page%5Bpath%5D=full-takeover

Enpoint vulnerable: /[account-id]/pages/[page-id]

param vulnerable: page%5Bdomain%5D=anydomain.com

This Request update the page with the New Domain (any domain could be used and creating content into it)

All branded domains under unbounce app are vulnerable

I create a new Private Video PoC here for the above explained -> https://youtu.be/cRf3zkdngh0

Security Impact at H1:

*An attacker can utilize this domain info.hacker.one for targeting the organization by fake login hackerOne forms, or steal sensitive information of teams (credentials, credit card information, etc)

Security impact at Unbounce Pages:

*An attacker can utilize this bug affecting all branded domains and customers at unbouncepages.com and use all domains with evil purposes as stealing of sensitive information, credentials, credit card info, etc

Please let me know if more info needed or any help,

Best Regards, @ak1t4

The original report as published on HackerOne, by ak1t4. 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 page update endpoint trusted a client-supplied domain parameter, so a user could bind an arbitrary domain to their page despite the earlier fix.

Impact

An attacker could host content on the HackerOne subdomain for fake login pages or to steal credentials and card data, and the same flaw affected all branded domains on the service.

What the attacker needed

An account on the page-building service; ability to intercept HTTP requests; target domain pointed at the service

How it was found

  1. Log in to the Unbounce account.
  2. Create a new page under any domain.
  3. Open the page's notes editor and enter any text.
  4. Intercept the resulting request with a proxy.
  5. Add a domain parameter naming the target domain to the request body.
  6. Refresh the page to see the new domain claimed on the page URL.

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.

A subdomain takeover happens when a company points a name like info.example.com at an outside service, but nobody has claimed that name on the service. Anyone who signs up can claim it and put their own pages there. Here the service tried to stop this, but a hidden field in a page-editing request still let the attacker attach any domain to their page.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

More by ak1t4

View all

17 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.