Werk #5431: Fixed possible reflected XSS using custom bookmarks
Component | User interface |
Title | Fixed possible reflected XSS using custom bookmarks |
Date | Nov 3, 2017 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.4.0p17 1.5.0i1 |
Level | Trivial Change |
Class | Security Fix |
Compatibility | Compatible - no manual interaction needed |
It was possible to create custom bookmarks by making the user open a crafted URL. This created a bookmark in the users default bookmark list which could be used to execute custom javascript code when the user clicks on the just created link.
For example the user session cookies can be read and reported to the attackers, who could then hijack the users sessions with the application.
This issue has been fixed by limiting absolute URLs in bookmarks to the URL schemes https and http.