Joomla! Portfolio Component Command Injection and File Enumeration

SECUNIA ADVISORY ID:
SA39512

VERIFY ADVISORY:
http://secunia.com/advisories/39512/

DESCRIPTION:
A vulnerability and a security issue have been discovered in the
Portfolio component for Joomla!, which can be exploited by malicious
people to enumerate files on an affected system and to compromise a
vulnerable system.

1) phpThumb.php returns different error messages depending on the
existence of the file passed via the "src" parameter. This can be
exploited to enumerate existing files on the local system via
directory traversal sequences.

2) Input passed via the "fltr[]" parameter to
components/com_portfolio/includes/phpthumb/phpThumb.php can be
exploited to inject and execute arbitrary shell commands

For more information:
SA39556

The security issue and the vulnerability are confirmed in version
2.0.2. Other versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
1) Mr.tro0oqy
2) Originally reported in phpThumb() by an anonymous person.

OTHER REFERENCES:
SA39556:
http://secunia.com/advisories/39556/

RECENT ARTICLE

RECENT POST