Improper Restriction of Rendered UI Layers or Frames in bytebase/bytebase


Reported on

Oct 11th 2021

# Description
it can be possible to perform a clickjacking attack due to the lack of frame restrictions. 
The application does not set the response header X-Frame-Options: DENY.

 # Proof of Concept

        <title>Clickjack test page</title>
        <iframe src="" width="500" height="500"></iframe>

save the script as clickjacking .html and page will render in iframes

# Impact
 it is possible for a page controlled by an attacker to load the website within an iframe. 
This will enable a clickjacking attack, in which the attacker's page overlays the target application's interface with a different interface provided by the attacker

configure X-FRAME-OPTIONS  as same origin by default.
We have contacted a member of the bytebase team and are waiting to hear back 2 months ago
bytebase/bytebase maintainer validated this vulnerability 2 months ago
@0xAmal has been awarded the disclosure bounty
The fix bounty is now up for grabs
bytebase/bytebase maintainer confirmed that a fix has been merged on 76cf6c 2 months ago
The fix bounty has been dropped