当前位置:网站首页>记一次,修改密码逻辑漏洞实战
记一次,修改密码逻辑漏洞实战
2022-07-06 09:22:00 【又懒有菜】
目录
0x0a 状态码信息:
HTTP 状态码由三个十进制数字组成
响应分为五类:信息响应 (100–199),成功响应 (200–299),重定向 (300–399),
客户端错误 (400–499)和服务器错误 (500–599)。
0x0b 漏洞本质:
缺少后端验证或缺少服务器认证,并且前端缺少逻辑。
0x0c 信息搜集: js白盒
vue框架,杂项webpack,推断使用js前端验证。
f12 查看 ctrl+f 搜索逻辑漏洞关键字 “验证成功”
结合前面,大概率可能存在前端单一认证
思路:抓包,修改response状态码为:200
0x0d 话不多少开干开干
0x01验证码绕过
注意此时并未获取验证码
0x02 截取返回包,修改状态码
do intercept ——> Response to this request
修改状态码为200
验证码绕过成功
0x03 修改重置密码
0x00 这里直接修改发现 提示流程错误
f12查看源码
发现这里还有js认证 ,因为上一步可能缺少js参数
到这步了 尝试一下这里能否绕过
0x04 修改状态码
成功绕过
0x05 使用新密码登录 成功登录
漏洞已被修复,切勿骚操作。
边栏推荐
- 强化学习系列(一):基本原理和概念
- Mode 1 two-way serial communication is adopted between machine a and machine B, and the specific requirements are as follows: (1) the K1 key of machine a can control the ledi of machine B to turn on a
- [面試時]——我如何講清楚TCP實現可靠傳輸的機制
- Simply understand the promise of ES6
- 7-14 错误票据(PTA程序设计)
- 2022泰迪杯数据挖掘挑战赛C题思路及赛后总结
- [the Nine Yang Manual] 2019 Fudan University Applied Statistics real problem + analysis
- MySQL lock summary (comprehensive and concise + graphic explanation)
- [the Nine Yang Manual] 2021 Fudan University Applied Statistics real problem + analysis
- Difference and understanding between detected and non detected anomalies
猜你喜欢
Callback function ----------- callback
HackMyvm靶机系列(7)-Tron
Difference and understanding between detected and non detected anomalies
MATLAB打开.m文件乱码解决办法
1. Preliminary exercises of C language (1)
SRC挖掘思路及方法
MySQL事务及实现原理全面总结,再也不用担心面试
HackMyvm靶机系列(3)-visions
canvas基础2 - arc - 画弧线
. Net6: develop modern 3D industrial software based on WPF (2)
随机推荐
7-11 机工士姆斯塔迪奥(PTA程序设计)
Wechat applet
Reinforcement learning series (I): basic principles and concepts
Intensive literature reading series (I): Courier routing and assignment for food delivery service using reinforcement learning
QT meta object qmetaobject indexofslot and other functions to obtain class methods attention
7-7 7003 组合锁(PTA程序设计)
(original) make an electronic clock with LCD1602 display to display the current time on the LCD. The display format is "hour: minute: Second: second". There are four function keys K1 ~ K4, and the fun
Leetcode. 3. Longest substring without repeated characters - more than 100% solution
MySQL lock summary (comprehensive and concise + graphic explanation)
简述xhr -xhr的基本使用
Force deduction 152 question multiplier maximum subarray
Zatan 0516
The difference between abstract classes and interfaces
Redis实现分布式锁原理详解
Thoroughly understand LRU algorithm - explain 146 questions in detail and eliminate LRU cache in redis
强化学习系列(一):基本原理和概念
7-7 7003 combination lock (PTA program design)
.Xmind文件如何上传金山文档共享在线编辑?
【手撕代码】单例模式及生产者/消费者模式
【educoder数据库实验 索引】