Invalid credential stuffing Protection Policy cookie

Source: Internet
Author: User

Invalid credential stuffing Protection Policy cookie

The library hit AttacK Defense solution here mentions some unreliable solutions. This time, we will share an unreliable solution that uses cookies to identify users.

The test object is a well-known vertical e-commerce company.

Login Request: Human bypass ~

POST/web/_ login HTTP/1.1 Accept-Encoding: gzip, deflate Accept-Language: zh-CN, zh; q = 0.8, en; q = 0.6 Cookie: PHPSESSID = i564ka1k5g98l510vsaiftret5; _ key = California; RA-Ver: 2.9.0 RA-Sid: California AlexaToolbar-ALX_NS_PH: AlexaToolbar/alxg-3.3 username = 1111 & passwd = 22222 & code =

When multiple attempts to log on fail, the server returns:

{"Result": "show_code", "msg": "\ u9a8c \ u8bc1 \ u7801 \ u9519 \ u8bef "}

Unicode decoding is a verification code error. The request contains a code field. It seems that you need to enter the verification code. Defense measures were taken.

After the cookie is deleted, the server returns the following request:

{"Result": "username_error", "msg": "\ u624b \ u673a \ u53f7 \ u7801 \ u9519 \ u8bef "}

The user name does not exist. Therefore, the server uses cookies to determine whether a request is sent multiple times and whether a verification code is required. As long as no cookie is sent, attackers can easily bypass server judgment and perform brute force cracking and credential stuffing.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.