|
|
>> Gallery Cross Site Scripting and Arbitrary File Manipulation Vulnerabilities
|
Multiple vulnerabilities have been identified in Gallery, which could be exploited by attackers to execute arbitrary scripting code or manipulate arbitrary files.
The first issue is due to an input validation error in the "getRemoteHostAddress()" function that does not properly validate the "HTTP_X_FORWARDED_FOR" header, which could be exploited by attackers to spoof logged IP addresses or cause malicious scripting code to be executed by the user's browser in the security context of an affected Web site.
The second flaw is due to an input validation error in the "_isSessionValid()" function that does properly validate the "sessionId" variable before being passed to an "unlink()" call, which could be exploited by remote attackers to delete arbitrary files with the privileges of the web server.
Affected Products
Gallery version 2 through 2.0.2
Solution
Upgrade to Gallery version 2.0.3 :
http://codex.gallery2.org/index.php/Gallery2:Download
References
http://www.vupen.com/english/advisories/2006/0813 http://www.gulftech.org/?node=research&article_id=00106-03022006
Credits
Vulnerabilities reported by James Bercegay
ChangeLog
2006-03-03 : Initial release
Vulnerability Management
Subscribe to VUPEN VNS and receive real-time e-mail and SMS alerts when new advisories or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form. | |
|