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.
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 email@example.com
Subject: Gallery Script Insertion and Session Handling Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.