Smart youdao professional travel system v1.6.5 vulnerability and repair

Source: Internet
Author: User

 

######################################## ####################################

# Title: Smart youdao professional travel system v1.6.5 Vulnerability

# Time: 2011-10-30

# Team: makebugs

# Author: Fate http://t.qq.com/MakeBug http://hi.baidu.com/micropoor

######################################## ####################################

Injection:

 

'\ Inc \ incsql. asp

<%

Dim SQL _leaching, SQL _leach_0, SQL _DATA, SQL _Get, SQL _Post

SQL _leaching = "', and, exec, insert, select, delete, update, count, *, %, chr, mid, master, truncate, char, declare"

SQL _leach_0 = split (SQL _leaching ,",")

 

If Request. QueryString <> "Then

For Each SQL _Get In Request. QueryString

For SQL _Data = 0 To Ubound (SQL _leach_0)

& Apos;

 

If Request. Form <> "" Then

For Each SQL _Post In Request. Form

For SQL _Data = 0 To Ubound (SQL _leach_0)

If instr (Request. Form (SQL _Post), SQL _leach_0 (SQL _DATA)> 0 Then

Response. Write ("err ")

& Apos;

%>

Filtering Problems, but in some cases:

<%

Id = ReplaceBadChar (replace (trim (request ("id"), "'", "")' Note ID

SQL = "select * from car where id =" & id &""

Set rs = server. CreateObject ("ADODB. recordset ")

Rs. open SQL, conn, 1, 1

If rs. eof and rs. bof then

& Apos;

End if

%>

There are also no filtered pages. For example:

<%

Dim id

Id = checkStr (request. QueryString ("id ")&"")

Dim objhttp, strrequest, xmldoc, bok

Set objHTTP = Server. CreateObject ("MSXML2.XMLHTTP ")

StrRequest = "sceneryId =" & id &""

Shell:

 

Smart youdao professional travel system 1.1 -- v1.6.5 has the same problems:

Http://www.bkjia.com/admin/do/admin_uploadfile.asp? Id = 1 & dir = ../..

Http://www.bkjia.com/admin/do/Admin_Style.asp

Http://www.bkjia.com/admin/do/data. asp

 

Other information:

 

Default Database: \ wklksdata \ bbcctour. asp can insert a sentence

 

Upload problem: \ inc \ Upfile_Photo.asp

 

Www.2cto.com fix: Filter and upload fix

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.