Gallery X_FORWARDED_FOR header spoofing

gallery-header-spoofing (25120) The risk level is classified as MediumMedium Risk

Description:

Gallery is vulnerable to spoofing attacks. A remote attacker could send a malicious X_FORWARDED_FOR header to overwrite the normal file process and possibly perform anonymous actions on the system.

Platforms Affected:

  • Gallery, Gallery 2 - 2.0.2

Remedy:

Upgrade to the current version of Gallery (version 2.0.3 or later) available from the Gallery Web site. See References.

Consequences:

File Manipulation

References:

  • Gallery Web site, Gallery - Your Photos on Your Website at http://gallery.menalto.com.
  • GulfTech Research & Development Web site, Gallery 2 Multiple Vulnerabilities at http://www.gulftech.org/?node=research&article_id=00106-03022006.
  • BID-16940: Gallery Album Comments HTML Injection Vulnerability
  • CVE-2006-1126: Gallery 2 up to 2.0.2 allows remote attackers to spoof their IP address via a modified X-Forwarded-For (X_FORWARDED_FOR) HTTP header, which is checked by Gallery before other more reliable sources of IP address information, such as REMOTE_ADDR.
  • SA19104: Gallery Script Insertion and Session Handling Vulnerabilities
  • SECTRACK ID: 1015717: Gallery Input Validation Holes Let Remote Users Delete Files and Conduct Cross-Site Scripting Attacks
  • VUPEN/ADV-2006-0813: Gallery Cross Site Scripting and Arbitrary File Manipulation Vulnerabilities

Reported:

Mar 03, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page