Frameset(Frame) html tag is allowed in html editor.(can lead to clickjacking)
The HTML editor blocked iframe, object and embed tags but allowed frameset and frame tags, so a user could embed a same-origin settings page inside a frame. This could enable a clickjacking attack against that page.
- Triaged in 30 hours
- Fixed in 3 months
- Disclosed after 3 months
Hello Sir/Mam , I was using the html editor in computer programming section , which allowed me to design a webpage. When i use the iframe tag , object tag and embed tag it show me the message that these tags are not allowed for security reasons(may be cause of clickjacking attack or something) but when i used frameset n frame tag it does not showed any message and allows them. The X-frame option is set to same-origin. So, it allowed to load the user setting page in a frameset tag , (i also recorded the video too)which can lead to clickjacking attack. If there is restriction on iframe , object n embed tag then there should also be restriction on frameset(frame). P.S:The poc video is also attached below.
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 HTML sanitiser's blocklist covered iframe, object and embed but omitted the legacy frameset and frame tags.
Impact
An attacker could frame the same-origin settings page and attempt clickjacking, though the report only demonstrates that framing is possible and does not show a working clickjacking exploit.
What the attacker needed
Access to the HTML editor; victim visits attacker-controlled page
How it was found
- Open the HTML editor in the computer programming section.
- Enter frameset and frame tags instead of iframe, object or embed.
- Observe that no security warning appears and the tags are accepted.
- Load the user settings page inside the frame.
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 website's HTML editor let people write raw HTML but tried to block tags that can embed other pages. It missed the older frameset and frame tags, which do the same thing. Because the settings page could be loaded inside a frame, an attacker might trick a logged-in user into clicking things they did not intend, which is called clickjacking.
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.