[UNIX] Discuz! Command Execution Vulnerability

SecuriTeam <[email protected]> 16 Aug 2005 17:04:03 +0200
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Discuz! Command Execution Vulnerability
------------------------------------------------------------------------


SUMMARY

 <http://www.discuz.net/> Discuz! - "popular web forum applications in 
China".

Due to input validation flaw, malicious attackers can cause the Discuz 
program to run arbitrary commands with the privilege of the HTTPD process.

DETAILS

Vulnerable Systems:
 * Discuz! version 4.0.0 rc4 and prior

Discuz! doesn't properly check multiple extensions of uploaded files, 
allowing malicious attackers to upload a file with multiple extensions 
such as attach.php.php.php.php.rar to a web server.

This can be exploited to run arbitrary commands with the privilege of the 
HTTPD process, which is typically run as the nobody user.

Workaround:
Exclude the RAR extension from the extension list for attached files on an 
administration page and wait the release of official patch.

Disclosure Timeline:
 * 24.07.05 - Vulnerability found
 * 25.07.05 - Vendor notified
 * 12.08.05 - Official release


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> 
SSR Team.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.