Editor Login | Register
Ekle

> World > Security
EncapsGallery Cross-Site Scripting and File Upload - Security - World -
CWRedLight
(Date : 23.04.2008 00:47:07)
%10


EncapsGallery Cross-Site Scripting and File Upload
Secunia Advisory: SA29824  
  Release Date: 2008-04-22
Critical:
Less critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Partial Fix
Software: EncapsGallery 2.x
Description:
Thomas Pollet has discovered a vulnerability and a security issue in EncapsGallery, which can be exploited by malicious people to conduct cross-site scripting attacks and by malicious users to compromise a vulnerable system.

1) Input passed to the "search" parameter in search.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user"s browser session in context of an affected site.

2) The "file_upload()" function in core/misc.class.php does not restrict extensions of uploaded files to the "rwx_gallery" directory under the webroot. This can be exploited to execute arbitrary PHP code via uploaded PHP scripts.

Successful exploitation of the vulnerability requires valid administrator credentials.

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

Solution:
Update to version 2.0.4, which fixes vulnerability #1.

Grant administrative access to trusted users only.

Provided and/or discovered
Thomas Pollet


Derecelendir
Kaynak http://secunia.com/advisories/29824/
İçerik İhbarı
Bağlantılar: bilgininefendisi.net

Open Source Document Project AUP&TOS