Joomla! DJ-Classifieds Component Script Insertion and File Upload Vulnerabilities

SECUNIA ADVISORY ID:
SA39681

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

DESCRIPTION:
Some vulnerabilities have been discovered in the DJ-Classifieds
component for Joomla!, which can be exploited by malicious users to
conduct script insertion attacks and compromise a vulnerable system.

1) Input passed via the "description" parameter to index.php (when
"option" is set to "com_djclassifieds" and "view" is set to
"additem") is not properly sanitised before being displayed to the
user. This can be exploited to insert arbitrary HTML and script code,
which will be executed in a user's browser session in context of an
affected site when the malicious data is being viewed.

2) A vulnerability is caused due to the application improperly
validating uploaded files. This can be exploited to execute arbitrary
PHP code by uploading a malicious PHP script with multiple
extensions.

Successful exploitation of this vulnerability requires that Apache is
not configured to handle the mime-type for files with an e.g. "pjpeg"
extension.

The vulnerabilities are confirmed in version 0.9.1. Other versions
may also be affected.

SOLUTION:
Grant only trusted users access to the affected component.

PROVIDED AND/OR DISCOVERED BY:
Sid3^effects

RECENT ARTICLE

RECENT POST