当前位置:网站首页>Record once, modify password logic vulnerability actual combat

Record once, modify password logic vulnerability actual combat

2022-07-06 14:03:00 Lazy and talented

Catalog

0x0a Status code information :

0x0b The nature of the vulnerability :

0x0c Information gathering : js White box

0x0d Don't talk much, do it

0x01 Verification code bypass

0x02 Intercept the return packet , Modify the status code

0x03 Modify reset password

It is found that Prompt process error

0x04  Modify the status code

0x05  Log in with the new password   Successfully logged in  

The vulnerability has been fixed , Do not operate carelessly . 

0x0a Status code information :

HTTP Status code from Three decimal digits make up

There are five types of responses : Information response (100–199), Successful response (200–299), Redirect (300–399),

Client error (400–499) And server errors (500–599).

0x0b The nature of the vulnerability :

Lack of back-end authentication or server authentication , And the front end lacks logic .

0x0c Information gathering : js White box

vue frame , miscellaneous webpack, Infer the use of js Front end validation .

f12 see ctrl+f Search for logical vulnerability keywords “ Verify success ”

Combine the front , There may be a single front-end certification

Ideas : Grab the bag , modify response Status code for :200

0x0d Don't talk much, do it

0x01 Verification code bypass

Note that the verification code is not obtained at this time

0x02 Intercept the return packet , Modify the status code

 do intercept ——> Response to this request

  Modify the status code to 200

  Verification code bypassed successfully

0x03 Modify reset password

0x00 It is found that Prompt process error

f12 View source code

I found that there are still js authentication   , Because the last step may lack js Parameters

That's it   Try whether you can bypass here

0x04  Modify the status code

  Successfully bypassed

0x05  Log in with the new password   Successfully logged in  

The vulnerability has been fixed , Do not operate carelessly . 

原网站

版权声明
本文为[Lazy and talented]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060917589098.html