Wordpress users Disclosure [ /wp-json/wp/v2/users/ ]
该报告还没有中文解读。
原文摘录
摘自原文(1294 字符中的一小部分)
Summary: Using REST API, we can see all the WordPress users/author with some of their information. Which can even be Personal information of employees/author. The file v2/users at: https://www.mtn.com/wp-json/wp/v2/users/ is enabled and this give the attacker many users names like: `Amogelang …
原文中的代码
add_filter( 'rest_endpoints', function( $endpoints ){
if ( isset( $endpoints['/wp/v2/users'] ) ) {
unset( $endpoints['/wp/v2/users'] );
}
if ( isset( $endpoints['/wp/v2/users/(?P<id>[\d]+)'] ) ) {
unset( $endpoints['/wp/v2/users/(?P<id>[\d]+)'] );
}
return …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MTN Group 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @shubham_srt · 版权归作者与 MTN Group 所有