hello
an dangerous vulnirability has been detected on joomla 1.5beta2 (Remote command execution)
Vulnerability overview:
-----------------------
The search component of Joomla! allows an attacker to execute arbitrary
PHP commands. It is e.g. possible to execute OS commands via system()
calls. PHP is set to the settings recommended by the Joomla! installer!
An attacker does not need to be authenticated to perform this attack!
Vulnerability description:
--------------------------
The following scripts of a default Joomla! 1.5 beta 2 installation
contain the vulnerable code:
1) components/com_search/views/search/tmpl/default_results.php
line 12: result .'";'); ?>
2) templates/beez/html/com_search/search/default_results.php
line 25: echo '
' . eval ('echo "' . $this->result . '";');
Input of the "searchword" parameter is being passed to the mentioned
eval() code and executed. An attacker is able to append new PHP commands
after the "echo" language construct which can be used for OS command
execution.
In order to bypass the search word length limitation of 20 characters a
new GET parameter is being used to specify the OS commands (see proof of
concept).
you can read more here http://www.milw0rm.com/exploits/4212