HackerOne Pentesters can access any structured scope object through GraphQL node interface
访问控制 / 访问控制缺陷(通用) / #781150
该报告还没有中文解读。
原文摘录
摘自原文(1908 字符中的一小部分)
A missing authorization check in the `StructuredScope` protector class (`app/protectors/protected_structured_scope.rb:42`) enables any HackerOne Pentester to access structured scope objects of programs they aren't invited to or aren't running a penetration test through HackerOne.
原文中的代码
class ProtectedStructuredScope
# ...
property(:CAN_INVITE_HACKERS) do
StructuredScope.unscoped
.joins(:team)
.merge(Team.that_can_invite_hackers)
end
group(
# ...
(has_role(H1_PENTESTER) & has_feature(CAN_INVITE_HACKERS)),
) do
allow :id
allow …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 HackerOne 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jobert · 版权归作者与 HackerOne 所有