Launch communication enterprise site CMS system v1.1 injection and background shell defects and repair

Source: Internet
Author: User

 

This is a broken system. If you change the model, you will be charged for it.

 

 

The junk system also encrypts the source horse.

 

 

 

A large number of vulnerabilities

 

Background login verification file:

 

<! -- # Include file = "conn. asp" -->

<! -- # Include file = "../class/Config. asp" -->

<! -- # Include file = "inc/md5.asp" -->

<! -- # Include file = "../class/Ubbsql. asp" -->

<%

Dim SQL, rs

Dim username, password, CheckCode

Username = replace (trim (request ("username ")),"'","")

Password = replace (trim (Request ("password ")),"'","")

CheckCode = replace (trim (Request ("CheckCode ")),"'","")

 

The above page is not loaded with anti-injection. In addition, request is used for receiving parameters. There are no restrictions. Let's get all the injections together.

 

 

 

2. Injection on the front-end page

 

% Owen = request ("id") %>

 

<%

Id = cstr (request ("id "))

Set rsnews = Server. CreateObject ("ADODB. RecordSet ")

SQL = "update news set hits = hits + 1 where id =" & id

Conn.exe cute SQL

 

You can use injection to transfer data. I didn't see any other pages.

 

 

 

Let's take a look at the shell vulnerability in the background.

 

1. the upload vulnerability allows you to upload files.

 

2. There are no restrictions on database backup. Upload the image horse and back up it.

 

3. Website configuration, which can be inserted with a closed shell statement

Fix: Filter

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.