Dangerous verification code-12306.cn errors

Source: Internet
Author: User
During the Spring Festival, there was a ticket flushing plug-in online, which provided us with much convenience for purchasing tickets. The verification code must be entered once. After the verification code is entered, you can use the software to submit the order automatically until the ticket is successfully booked, saving us from the trouble of trying again and again. All of these are verified by exploiting the website verification code vulnerability.

During the Spring Festival, there was a ticket flushing plug-in online, which provided us with much convenience for purchasing tickets. The verification code must be entered once. After the verification code is entered, you can use the software to submit the order automatically until the ticket is successfully booked, saving us from the trouble of trying again and again. All of these are verified by exploiting the website verification code vulnerability.

During the Spring Festival, there was a ticket flushing plug-in online, which provided us with much convenience for purchasing tickets.

The verification code must be entered once. After the verification code is entered, you can use the software to submit the order automatically until the ticket is successfully booked, saving us from the trouble of trying again and again. All of this uses the website verification code vulnerability. The verification code is not updated immediately after it passes verification, so you can continue to use the verification code next time.


Demo hello on:

---------------------------------------- Simulate 12306 -----------------------------------------------------------

 
 

-------------------------------------------------- Simulate ticket flushing ----------------------------------------------------------------------------

  "; Curl_close ($ ch); sleep (rand (1, 3 ));}}}

The running result is shown in the following figure:

If you enter the verification code only once, you will be able to brush the ticket unlimitedly !!!

The solution is simple: after the Session verification is passed, kill $ _ SESSION ['vcode !!!


Download test code

Disclaimer: This article uses the CC BY-NC-SA 3.0 protocol for authorization

Reprinted, please indicate the source: Xiaojing's blog

Link: http://www.phpv5.com/blog/vcod

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.