what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Phpbuddies Shell Upload

Phpbuddies Shell Upload
Posted Mar 19, 2011
Authored by Xr0b0t

Phpbuddies suffers from a remote shell upload vulnerability.

tags | exploit, remote, shell
SHA-256 | 31efb838e347a210fcac73822ab8a8e06bd7e69021172ed99995cc99c304bbb9

Phpbuddies Shell Upload

Change Mirror Download
 [!]===========================================================================[!]

[~] Phpbuddies 0day Arbitrary Upload File Vulnerability
[~] Author : Xr0b0t (xrt.interpol@gmx.us)
[~] Homepage : www.indonesiancoder.com | xrobot.mobi | mc-crew.net | exploit-id.com
[~] Date : 18 Mart, 2010
[~] Tested on : BlackBuntu RC2

[!]===========================================================================[!]

[ Software Information ]

[+] Vendor : http://phpbuddies.com
[+] Download : http://phpbuddies.com/index.php?module=downloadcenter&action=download_home
[+] Price : LICENSI REQUEST
[+] Vulnerability : Upload File
[+] Dork : "Nothing Preson Laa!!" ;)
[+] Version : Not Find The Version

[!]===========================================================================[!]

Vulnerable Javascript Source Code:
elseif(RequestForm('new_photo')!='')
{
$image = RequestForm('image');
$myphoto = RequestFile('myphoto');

if($myphoto['name'] && !$myphoto['error'])
{
$ext = implode("|",explode(",",$this->Settings->img_ext));
$myupload = new UPLOAD();
$upload_dir = RS_SYSTEM_PATH."systemupload/profile";
$picture = $myupload->upload_file($upload_dir,'myphoto',true,false,0,$ext);
if($picture == false){
$this->assignVal('err','Photo is not uploaded.');
$error = 1;
}
else
{
$phpThumb = new phpThumb();
$phpThumb->setSourceFilename(str_replace('\\','/',RS_SYSTEM_PATH."systemupload/profile/".$picture));
$phpThumb->setParameter('w',$this->Settings->thumb_img_width);
$phpThumb->setParameter('h',$this->Settings->thumb_img_height);
$output_filename = str_replace('\\','/',RS_SYSTEM_PATH."systemupload/profile/thumb_".$picture);
if ($phpThumb->GenerateThumbnail())
{
$phpThumb->RenderToFile($output_filename);
}

$mem_id = $this->Session->getValue('userid');
$sql=sprintf(SQL_UPDATE_PROFILE_PHOTO,$picture,$mem_id);
$this->Conn->Execute($sql);

if($image)
$this->delete->remove_profile_photo($image);
}
}
}>
------------------------------------------------------------------------

[ Default Site ]
http://127.0.0.1/phpbuddies/



[ XpL ]

[~] Step 1 : Find A CMS With Google Dork

[~] Step 2: Register In This Site

[~] Step 3: Click On Account Settings

[~] Step 4: Click On Upload Images

[~] Step 5: Click On File Will Be Uploaded ( Uploaded The File *.php or *.jgp)

[~] Step 6: And Click on Manage Photo

[~] Step 7: You Will See the file systemupload/profile/


[ Demo ]

Site : http://phpbuddies.com/

exploit : http://phpbuddies.com/index.php?module=profile&action=myaccount
"Upload The shell.php Manage Photo"

Result : http://phpbuddies.com/systemupload/profile/foot.phpshell.php


with a default configuration of this script, an attacker might be able to upload arbitrary
files containing malicious PHP code due to multiple file extensions isn't properly checked

Goo The IndonesianCoder!!!
[!]===========================================================================[!]

[ Thx TO ]

[+] Hai Kumis Lele HAhaha Ab ah Benu Turune Ngiler !!
[+] INDONESIAN CODER TEAM IndonesianHacker Malang CYber CREW Magelang Cyber
[+] tukulesto,M3NW5,arianom,N4CK0,abah_benu,d0ntcry,bobyhikaru,gonzhack,senot
[+] Contrex,YadoY666,yasea,bugs,Ronz,Pathloader,cimpli,MarahMerah.IBL13Z,r3m1ck
[+] Coracore,Gh4mb4s,Jack-,VycOd,m0rgue,otong,CS-31,Yur4kha,Geni212


[ NOTE ]

[+] OJOK JOTOS2an YO ..
[+] Minggir semua Arumbia Team Mau LEwat ;)
[+] MBEM : lup u :">

[ QUOTE ]

[+] INDONESIANCODER still r0x...
[+] ARUmBIA TEam Was Here Cuy MINGIR Kabeh KAte lewat ..
[+] Malang Cyber Crew & Magelang Cyber Community


Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close