|
Gallery Script Insertion and Session Handling Vulnerabilities
|
|
Secunia Advisory:
|
SA19104
|
|
|
Release Date:
|
2006-03-03
|
|
Last Update:
|
2006-03-14
|
|
Popularity:
|
6,873 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Security Bypass Cross Site Scripting Manipulation of data
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Gallery 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-1128 CVE-2006-1126 CVE-2006-1127
|
|
Description: James Bercegay has reported some vulnerabilities in Gallery, which can be exploited by malicious people to conduct script insertion attacks and to bypass certain security restrictions.
1) Input passed to "getRemoteHostAddress()" via the X_FORWARDED_FOR HTTP header isn't properly sanitised before being saved. This can be exploited to spoof the IP address that is logged when adding comments in an album, or to execute arbitrary HTML and script code in a user's browser session in context of an affected website when a malicious comment is viewed.
2) Input passed in the session id isn't properly sanitised before being used. This can be exploited to delete arbitrary files accessible to the web server process.
The vulnerabilities have been reported in version 2 through 2.0.2.
Solution: Update to version 2.0.3.
http://codex.gallery2.org/index.php/Gallery2:Download
Provided and/or discovered by: James Bercegay, GulfTech Security Research Team.
Changelog: 2006-03-14: Added CVE references.
Original Advisory: http://gallery.menalto.com/gallery_2.0.3_released
http://www.gulftech.org/?node=research&article_id=00106-03022006
|
|
|
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.
|