Clickjacking of permission prompts for registerprotocol
A web page could trick a user into adding a custom protocol handler through clickjacking, because the permission prompt could be triggered by a double-click without the user moving the mouse. An attacker could use this to register a malicious protocol handler on the victim's browser.
- Fixed in 14 months
- Paid in 14 months
- Disclosed after 14 months
Created attachment 9365492
bandicam 2023-11-26 09-46-34-630.mp4
i found a vulnerability where user can fall for clickjacking to added register protocol permission
I tested on Firefox version 122.0a1 (2023-11-25) (64-bit)
steps to reproduce:
1. open https://pwed.my.id/clickjack/registerprotocol.html or Open registerprotocol.html
2. double click the "double click" button without moving the mouse then the register protocol will be added
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 permission prompt for registering a protocol handler can be triggered by a double-click without requiring mouse movement, making it susceptible to clickjacking.
What the attacker needed
Victim uses Firefox; victim visits attacker page; victim double-clicks without moving mouse
How it was found
- Open the provided test page or the local registerprotocol.html file.
- Double-click the button labelled 'double click' without moving the mouse.
- The register protocol permission is added.
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.
Clickjacking is when a malicious page tricks you into clicking something you didn't intend to, often by hiding or disguising a button. Here, a double-click on a button could cause the browser to show a permission prompt for adding a custom protocol handler, and the user might accept it without realising. This could let an attacker register a protocol handler that opens their own application or website when you click certain links.
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.