Ecshop bypassing Verification Code brute-force cracking 2

Source: Internet
Author: User

However, the bypass method is simpler than the previous one: http://www.bkjia.com/article/201308/239930.html --! Vulnerability file/admin/privilege. php

Elseif ($ _ REQUEST ['ac'] = 'signature') {if (! Empty ($ _ SESSION ['captcha _ word']) & (intval ($ _ CFG ['captcha ']) & CAPTCHA_ADMIN) {include_once (ROOT_PATH. 'shortdes/cls_captcha.php ');/* check whether the verification code is correct */$ validator = new captcha (); if (! Empty ($ _ POST ['captcha ']) &! $ Validator-> check_word ($ _ POST ['captcha ']) {// There is a serious logical error, that is to say, if I do not post the verification code, I can not check the verification code sys_msg ($ _ LANG ['captcha _ error'], 1 );}} $ _ POST ['username'] = isset ($ _ POST ['username'])? Trim ($ _ POST ['username']): ''; $ _ POST ['Password'] = isset ($ _ POST ['Password'])? Trim ($ _ POST ['Password']): '';

 

...... Proof:
The same http://www.bkjia.com/Article/201308/239930.html just does not need to submit the captcha Field
Solution:

Captcha does not exist. The system prompts that the verification code does not exist.

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.