owncloud.com: Parameter pollution in social sharing buttons
The social sharing buttons on ownCloud blog pages include query-string parameters in the Facebook and Twitter share links, so a crafted link changes the shared URL and text.
Originally disclosed on HackerOne
- Triaged in 6 hours
- Fixed in 54 days
- Disclosed after 3 months
Hello Owncloud ! For Example , We Have a Link :
https://owncloud.com/blog-you-can-soon-be-fined/
And We Change It To :-
https://owncloud.com/blog-you-can-soon-be-fined/?u=https://vk.com&text=another_site:https://hackerone.com/gorang_joshi
So When You Share It , While Using Your Sharing Buttons Present On Your Page , The Source Code Will Change :
Facebook : https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fowncloud.com%2Fblog-you-can-soon-be-fined%2F%3Fu%3Dhttps%3A%2F%2Fvk.com&text=another_site%3Ahttps%3A%2F%2Fhackerone.com%2Fgorang_joshi
twitter :https://twitter.com/intent/tweet?text=another_site%3Ahttps%3A%2F%2Fhackerone.com%2Fgorang_joshi&url=https%3A%2F%2Fowncloud.com%2Fblog-you-can-soon-be-fined%2F%3Fu%3Dhttps%3A%2F%2Fvk.com&original_referer=
Thanks , The Same Report Was Reported By My Friend To Hackerone , You Can Check This Here :
https://hackerone.com/reports/105953
Thanks , Hope You'll Response Likewise :)
Attachments

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 sharing buttons use the full request URL, including query parameters, without sanitising or encoding them, allowing parameter pollution.
Impact
An attacker could craft a link that, when shared via the site's buttons, produces a different URL and text in the share link.
What the attacker needed
Victim clicks a crafted link; victim uses social sharing buttons
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.
When you click a share button on a website, the site builds a link to Facebook or Twitter using the page's address. This report shows that if someone adds extra parameters to the page address, those parameters get included in the share link, changing what gets shared. That means an attacker could make a share link point to a different site or show different text.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.