Skip to content
Info disclosure Disclosed report Beginner

Show hide privacy giving receiving on my website

The website's privacy settings to hide a user's total giving and profile from search were not respected by the embeddable widget, which still displayed the giving total. An attacker could embed the widget to reveal information the user intended to keep private.

test99767 Follow

Originally disclosed on HackerOne

  • Disclosed after 19 days

Hi team .. I found show hide privacy settings on website ... nobody can see on my profile but i put code on my website anybode can see my total giving ..

Step reprodence ..

1- go to https://gratipay.com/~demo/settings/ click turn on ( hide total to giving other) and (hide my self from search result ) this way nobody can see my profile it . 2- go to https://gratipay.com/~demo/widgets/ 3- copy code to your website then preview your test site look show all your privacy before now you hide it

  • GIVING & TAKING WIDGETS

Use this code to add a Gratipay "receiving" widget on your website:

<script data-gratipay-username="demo" src="//grtp.co/v1.js"></script>

Or, if you'd like to include a "giving" widget, you can add the

data-gratipay-widget="giving" attribute:

<script data-gratipay-username="demo" data-gratipay-widget="giving" src="//grtp.co/v1.js"></script>

##Poc Screenshot

Attachments

11.png
11.png From the original on HackerOne
22.png
22.png
44.png
44.png
33.png
33.png

The original report as published on HackerOne, by test99767. 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 widget endpoint did not check the user's privacy settings before returning the giving total.

Impact

A user's giving total, which they had set to private, could be disclosed to anyone viewing a website that embeds the widget.

What the attacker needed

Victim has privacy settings enabled; attacker embeds widget on a website

How it was found

  1. Go to the settings page and enable the options to hide the giving total and hide from search results.
  2. Go to the widgets page.
  3. Copy the widget code and embed it on a test website.
  4. Preview the test site and observe that the giving total is still shown.

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.

Privacy settings are meant to control who can see your information. Here, even after turning on options to hide your giving total and profile, a widget you can put on another site still showed the total. This means the privacy settings were not applied to the widget.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by test99767

View all

1 more disclosed report, best first.

More from Gratipay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.