Didi kuaidi Smart Travel platform (cangqiong) SQL Injection Vulnerability

Source: Internet
Author: User

Didi kuaidi Smart Travel platform (cangqiong) SQL Injection Vulnerability

The web interface of Didi kuaidi Smart Travel platform has the SQL injection vulnerability.

Didi fast intelligent travel platform data interface has obvious SQL injection vulnerability, such as address: http://v.kuaidadi.com/point? CityId = 1101001 & scope = city & date = 0 & dimension = distrision & num = 300 is the system's distribution statistics for Beijing.

Normally, the result is:
 

Vcm1hbC5qcGc = "onerror =" javascript: errimg (this); "src =" http://www.bkjia.com/uploads/allimg/160220/041F32O4-0.jpg "width =" 600 "/>



However, the system does not process the request parameters. Http://v.kuaidadi.com/point? CityId = 11010% 2701 & scope = city & date = 1 & dimension = distribute & num = 300 when using spring, the system throws all the exception content and exposes the internal table structure.
 



In addition, the system does not perform any parameter processing (type verification, filtering, etc.) for other interfaces and field requests. spring throws an exception.

The interface does not filter Request Parameters. All exceptions are thrown and the related table structure and content are displayed.
 

 

Solution:

Filter Request Parameters and handle exceptions with complete logic.

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.