Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA29824

EncapsGallery Cross-Site Scripting and File Upload
Secunia Advisory SA29824
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-04-22
Last Update 2008-05-02
   
Popularity 5,044 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Cross Site Scripting
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Partial Fix
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
EncapsGallery 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-1987 CVSS available in Customer Area
CVE-2008-1988 CVSS available in Customer Area
  

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.
Further details available in Customer Area

Provided and/or discovered by
Thomas Pollet

Changelog
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: EncapsGallery Cross-Site Scripting and File Upload
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability