Secunia Logo  


Secunia PSI WorldMap
 
EncapsGallery Cross-Site Scripting and File Upload
Secunia Advisory: SA29824
Release Date: 2008-04-22
Last Update: 2008-05-02
Popularity: 2,918 views

Critical:
Less critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Partial Fix

Software:EncapsGallery 2.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

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.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

6th Nov, 2009
New advisories: 17
New vulnerabilities: 65
Updated advisories: 21

Less // 335 views
Debian update for linux-2.6.24
Less // 323 views
Debian update for linux-2.6
Moderately // 303 views
Gentoo update for horde
Less // 314 views
Fedora update for kernel
Less // 305 views
Fedora update for kernel
Moderately // 309 views
Ubuntu update for libgd2
Moderately // 322 views
Ubuntu update for libgd2
Highly // 324 views
Fedora update for alienarena-data

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 67 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 41 views
3. Adobe Flash Player Multiple Vulnerabilities // 34 views
4. Adobe Reader/Acrobat Multiple Vulnerabilities // 28 views
5. Google Chrome Two Vulnerabilities // 28 views
6. Mozilla Firefox Multiple Vulnerabilities // 25 views
7. Foxit Reader Firefox Plugin Memory Corruption Vulnerability // 15 views
8. NOS Microsystems getPlus ActiveX Control Buffer Overflow // 11 views
9. Microsoft Products GDI+ Multiple Vulnerabilities // 11 views
10. Microsoft .NET Framework Multiple Vulnerabilities // 10 views