gallery_plus: Content Spoofing
The gallery_plus app reflected a URL parameter into its error page, letting an attacker display arbitrary text as if it came from the site. An attacker could craft a link that shows a fake message, such as a payment request, to deceive users.
Originally disclosed on HackerOne
- Fixed in 9 hours
- Disclosed after 4 days
Attacker can send his messages directly through url. He can easily put his message on error message parameter . Like that http://192.168.0.107/owncloud/index.php/apps/galleryplus/error?message=Welcome to owncloud. You can get pro account by sending us 10 usd directly to our official paypal [email protected]. Thanks.&code=0
Thanks.
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 error page echoed the 'message' query parameter into the HTML without validating or encoding it, so attacker-supplied text was rendered as page content.
Impact
An attacker could make the site display a convincing fake message, such as a request to send money to an attacker-controlled account, which could trick users.
What the attacker needed
Victim clicks a crafted link
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 web page sometimes takes text from the address bar and shows it on the page. Here the error page showed whatever text was in the 'message' part of the link, so anyone could make the site display their own words. This is called content spoofing: the page looks official but the text is controlled by the attacker.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.