UI REDRESSING in polonel/trudesk
Reported on
May 18th 2022
Description
The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with.
Proof of Concept
- Go to this URL: https://clickjacker.io/test?url=https:%2F%2Fdocker.trudesk.io%2F
- Observe that the website is getting embeded in an Iframe.
- Observe that the headers x-frame-options and content-security-policy frame ancestors are missing.
Impact
Users are tricked into performing all sorts of unintended actions are such as typing in the password, clicking on ‘Delete my account’ button, liking a post, deleting a post, commenting on a blog. In other words all the actions that a normal user can do on a legitimate website can be done using clickjacking.
COUNTERMEASURES:
X-FRAME-OPTIONS is a security header to prevent clickjacking
This is fixed in v1.2.2. I will update this report once it is deployed.