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:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close