Joomla JE Messenger Component Arbitrary File Upload Security Issue

SECUNIA ADVISORY ID:
SA42572

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/42572/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=42572

RELEASE DATE:
2010-12-11
DESCRIPTION:
Salvatore Fresta has discovered a security issue in the JE Messenger
component for Joomla, which can be exploited by malicious users to
compromise a vulnerable system.

The security issue is caused due to the controllers/compose.php
script improperly handling uploaded files containing disallowed
extensions. This can be exploited to execute arbitrary PHP code by
uploading a malicious PHP script via the "Compose Mail" page.

Successful exploitation requires guessing the uploaded file name,
which is based on the uploaded time stamp.

The security issue is confirmed in version 1.0. Other versions may
also be affected.

SOLUTION:
Restrict access to the "Compose Mail" page to trusted users only.

PROVIDED AND/OR DISCOVERED BY:
Salvatore Fresta

ORIGINAL ADVISORY:
http://adv.salvatorefresta.net/JE_Messenger_1.0_Arbitrary_File_Upload_Vulnerability-09122010.txt