#0300 · 方法
每个接口都问:能看别人的吗
逐个检查这些接口:如果我是登录用户 A,把请求里的 ID 改成用户 B 的,能不能读到、改到、删掉 B 的数据?每个接口给出结论,并指出代码里做归属判断的那一行;找不到那一行就算有漏洞。
[路由和处理函数]
Go through these endpoints one by one: if I am logged-in user A and swap the ID in the request for user B's, can I read, change or delete B's data? Give a verdict per endpoint and point to the line that checks ownership; if there is no such line, count it as a hole.
[routes and handlers]
小杜
已贴 1,040 张上墙共收到 0 个章