wordpress.org/openverse/: unauthenticated open redirect — `str_replace()`'s 4th arg is a count, not a limit; bypasses WordPress.org SSO allow-list
该报告还没有中文解读。
原文摘录
摘自原文(17526 字符中的一小部分)
Every request under `https://wordpress.org/openverse/…` is served by the `wporg-openverse` theme's `index.php`. With the redirect enabled, that template builds a target by concatenating a bare origin (`https://openverse.wordpress.net` — no trailing slash, enforced by the setting's own …
原文中的代码
foreach ( array( '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'embed', 'home', 'frontpage', 'privacypolicy', 'page', 'paged', 'search', 'single', 'singular', 'attachment' ) as $template_type ) {
add_filter( $template_type . '_template', __NAMESPACE__ . …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 WordPress 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jakubk · 版权归作者与 WordPress 所有