OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA28154] Dokeos "My productions" Multiple Extensions File Upload Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Dec 19 2007 - 17:07:05 CST


----------------------------------------------------------------------

2003: 2,700 advisories published
2004: 3,100 advisories published
2005: 4,600 advisories published
2006: 5,300 advisories published

How do you know which Secunia advisories are important to you?

The Secunia Vulnerability Intelligence Solutions allows you to filter
and structure all the information you need, so you can address issues
effectively.

Get a free trial of the Secunia Vulnerability Intelligence Solutions:
http://corporate.secunia.com/how_to_buy/38/vi/?ref=secadv

----------------------------------------------------------------------

TITLE:
Dokeos "My productions" Multiple Extensions File Upload Vulnerability

SECUNIA ADVISORY ID:
SA28154

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

CRITICAL:
Moderately critical

IMPACT:
System access

WHERE:
From remote

SOFTWARE:
Dokeos 1.x
http://secunia.com/product/4508/

DESCRIPTION:
A vulnerability has been discovered in Dokeos, which can be exploited
by malicious users to compromise a vulnerable system.

The vulnerability is caused due to an error in the handling of file
uploads to "My productions" under "My profile", if a filename has
multiple file extensions (e.g. "file.php.1"). This can be exploited
to upload and execute arbitrary PHP code.

Successful exploitation requires valid user credentials and an
certain server configuration (e.g. an Apache server with the
"mod_mime" module installed).

The vulnerability is confirmed in version 1.8.4. Other versions may
also be affected.

SOLUTION:
Grant only trusted users access to the application.

Restrict access to the "main/upload/users/" directory (e.g. with
".htaccess"). This will however break the download functionality.

PROVIDED AND/OR DISCOVERED BY:
RoMaNcYxHaCkEr and an anonymous person

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/4753

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------