Background spoofing and repair of the latest 2.8 version of mofei chongtian news management system

Source: Internet
Author: User

Brief description:

The management files in the background only perform cookie verification. You can perform cookie spoofing on a remote client to obtain the management system permission.

Detailed description:

<%
 
'Permission settings // verification authority section, which only verifies client cookies
 
If request. cookies ("mofei") ("mofeiname") = "" or request. cookies ("mofei") ("mofeiid") = "" or request. cookies ("mofei") ("mofeiip") <> Request. servervariables ("REMOTE_ADDR") then
 
Response. redirect "show_error.asp? Eid = you are not the administrator of www.2cto.com! Check whether you have the permission! "
 
End if
 
If request. cookies ("mofei") ("banid") = "ban11" then // related management operations
Proof of vulnerability: Use a browser or browser plug-in with the cookie modification function, change the local cookie to "mofei = mofeiid = 1 & banid = ban11 & banid5 = ban115 & mofeiname = mofei & mofeiip = 127.0.0.1" and access the management page. that is, you can manage permissions for related operations, including operations and management accounts, backup site databases, and so on...


Solution:

Add other remote server permission verification methods
Author: Yu Ren @ wooyun

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.