position: fixed !important bypasses CSS sanitizer's fixed-position mitigation, enabling full-viewport phishing overlays.
该报告还没有中文解读。
原文摘录
摘自原文(2047 字符中的一小部分)
When sanitizing CSS, Roundcube's `sanitize_css_block()` in [rcube_utils.php](https://github.com/roundcube/roundcubemail/blob/4e95ebe12/program/lib/Roundcube/rcube_utils.php) converts `position: fixed` to `position: absolute` to prevent overlay attacks …
原文中的代码
<!DOCTYPE html>
<html>
<head><title>Account Update</title></head>
<body>
<p>Please see below for your account details.</p>
<style>
.overlay {
position: fixed !important;
top: 0; left: 0;
width: 100%; height: 100%;
background: white;
z-index: 99999;
display: flex; …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Nextcloud 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nullcathedral · 版权归作者与 Nextcloud 所有