Improper Restriction of Rendered UI Layers or Frames in craigk5n/webcalendar
Valid
Reported on
Oct 6th 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
<html>
<head>
<title>Clickjack test page</title>
</head>
<body>
<iframe src="http://webcalendar.sourceforge.net/demo/login.php?" width="500" height="500"></iframe>
</body>
</html>
save the script as clickjacking .html and page will render in iframes
https://i.ibb.co/1frhL8B/Screenshot-2021-10-06-113306.png
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
craigk5n/webcalendar
team and are waiting to hear back
2 years ago
Fix is in commit 6a3b8ea09459b5135bd0209c6e9cf0e389aaaf54 in bootstrap_ui branch
The fix for this is now included in the WebCalendar v1.9.0 release.
to join this conversation