EN \| Alert-box Message Content Manipulation based Base64
The login page reflected a Base64-encoded GET parameter in an alert box without validating its content, allowing an attacker to display arbitrary messages. An attacker could craft a link that shows a misleading warning to users.
Published on lutfumertceylan.com.tr
In July of this year, I found a Content Spoofing vulnerability in a Bitcoin Exchange company. The system was very simple, an encrypted text in a GET parameter was decrypted and reflected on the homepage in an alertbox.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application decoded a user-controlled parameter and inserted it into an alert without sanitisation or validation.
Impact
An attacker could craft a link that displays a misleading warning message to users, potentially aiding phishing or social engineering.
What the attacker needed
Victim clicks a crafted link
How it was found
- Observe the login page uses a GET parameter named 'e' for error messages.
- Notice the parameter value is Base64-encoded.
- Replace the value with a Base64-encoded custom message.
- Load the page and see the custom message displayed in an alert box.
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 write-up has not been written yet. The Original tab links to the source.
A website took text from the address bar and showed it as a pop-up warning without checking what it said. An attacker could make a link that displays a fake message, like 'your account is locked', to trick people.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.