Click Jacking Nextcloud
The Nextcloud login page was served without an X-Frame-Options header, so it could be embedded in a third-party page inside an iframe. An attacker could frame the login page on their own site and trick a user into entering credentials or using the forgot-password function, which the reporter says could support phishing and information theft.
- Disclosed after 14 months
Hello Security, Clickjacking (User Interface redress attack, UI redress attack, UI redressing) is a malicious technique of tricking a Web user into clicking on something different from what the user perceives they are clicking on, thus potentially revealing confidential information or taking control of their computer while clicking on seemingly innocuous web pages. The server didn't return an X-Frame-Options header which means that this website could be at risk of a clickjacking attack. The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites. This vulnerability affects Web Server. IMPACT: An attacker can host this domain in other evil site by using iframe and if a user fill the given filed it can directly redirect as logs to attacker and after its redirect to your web server.. its lead to steal user information too and use that host site as phishing of your site its CSRF and Clickjacking
POC:
- open https://portal.nextcloud.com/login.php or https://nextcloud.com
- Put the url in the below code of iframe
Impact
By using Clickjacking technique, an attacker hijack's click's meant for one page and route them to another page, most likely for another application, domain, or both.
The hacker selected the UI Redressing (Clickjacking) weakness. This vulnerability type requires contextual information from the hacker. They provided the following answers:
URL https://portal.nextcloud.com/login.php
Can a victim be tricked into unknowingly initiating a specific action? Yes
What specific action can the user be tricked into? This is the nexcloud login page, it can trick user login or forgot password function
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
Impact
An attacker could frame the login page on a malicious site and trick a user into entering credentials or using the forgot-password function, which the reporter says could lead to stolen information and use of the site for phishing.
What the attacker needed
Victim visits attacker's page; victim interacts with the framed page
The fix
The site should send an X-Frame-Options header so browsers refuse to render the page inside a frame.
How it was found
- Open the Nextcloud login page in a browser.
- Create a local HTML page containing an iframe whose source is the login page.
- Load the local page and observe that the Nextcloud login page renders inside the iframe.
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 site loads a real page invisibly or in a frame on top of its own content, so your clicks land on the real site without you realising. Here the login page could be loaded inside a frame on someone else's site, letting them dress it up as their own page and harvest what you type. The missing protection is a response header that tells browsers not to allow the page to be framed.
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.