当前位置:网站首页>tryhackme圣诞挑战2021-Advent of Cyber 3-day1-IDOR漏洞,不安全的访问控制漏洞
tryhackme圣诞挑战2021-Advent of Cyber 3-day1-IDOR漏洞,不安全的访问控制漏洞
2022-07-01 09:41:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
文章目录
第一天
货物系统出现了问题,让我们想办法进行修复!
IDOR漏洞是什么?
Insecure Direct Object Reference,不安全的直接对象引用,是一种权限控制类漏洞,类似于越权漏洞吧,就是用户访问到了自己不应该访问的信息,比如我只能查看我自己的资料,但我可以通过修改一些参数访问其他人的资料。
通常出现的地方
查询get请求
post的表单的值
这里用户的id被隐藏了,如果修改,可能就会导致任意用户密码修改漏洞
cookies
cookie一般会用一些加密后的字符串,不过一些初级的程序员可能会用一些简单的明文来传输信息
比如下面的例子,可以通过修改user_id来获取其他用户的信息
挑战
初探
这个系统被篡改了,出现了点问题(虽然我没看出来hhhh
看了一下有四个功能页面,第四个符合我们这次要学的漏洞
能够看到在url中含有参数
尝试去修改这个值,修改到9的时候发现了篡改这个系统的人
点击Revert按钮能够使得系统恢复
挑战的问题
1.寻找santa的位置,根据user_id的变化找到santa即可
2.和1的思路一样
3.同上
4.都点一下user_id为9的Revert即可恢复得到flag
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/131772.html原文链接:https://javaforall.cn
边栏推荐
- CSDN一站式云服务开放内测,诚邀新老用户来抢鲜
- js函数arguments对象
- Meituan P4 carefully collated microservice system architecture design manual to see the world of microservice architecture
- Learning practice: comprehensive application of cycle and branch structure (II)
- Weidongshan board compilation kernel problem solving
- SQL学习笔记(02)——数据库表操作
- js原型继承仅可继承实例而非构造器
- Upload labs for file upload - white box audit
- JS variable lifting
- js valueOf 与 toString 区别
猜你喜欢

队列的实现和应用

Swag init error: cannot find type definition: response Response

The latest masterpiece of Alibaba, which took 182 days to produce 1015 pages of distributed full stack manual, is so delicious

js作用域链与闭包
![Clickhouse: Test on query speed of A-share minute data [Part 2]](/img/c8/42ba748d38546d3b0d2be9b33c5d0b.jpg)
Clickhouse: Test on query speed of A-share minute data [Part 2]

苹果放大招!这件事干的太漂亮了……

集成积木报表报错 org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常

Implementation and application of queue

华为帐号多端协同,打造美好互联生活

Flinkv1.13 implementation of financial anti fraud cases
随机推荐
Upload labs for file upload - white box audit
Tree structure -- binary tree 2 non recursive traversal
ES6 decoupling top-level objects from windows
High precision factorial
PHP 字符串与二进制相互转换
2022.02.15_ Daily question leetcode six hundred and ninety
ESP8266 FreeRTOS开发环境搭建
电脑USB、HDMI、DP各种接口及速度
Structure de l'arbre - - - arbre binaire 2 traversée non récursive
Tearful eyes, it's not easy to change jobs. Three rounds of interviews, four hours of soul torture
那个程序员,被打了。
2.3 [pytorch] data preprocessing torchvision datasets. ImageFolder
js 使用toString 区分Object、Array
122. Thread class thread method summary; Why is the thread start method start () not run ()?
闭包实现迭代器效果
laravel postman 提交表单出现419错误。2020年7月6日记。
Project procurement management
SQL学习笔记(03)——数据约束关系
SQL学习笔记(02)——数据库表操作
ES6 const essence and completely immutable implementation (object.free)