phpInstantGallery index.php and image.php cross-site scripting

phpinstantgallery-index-image-xss (42374) The risk level is classified as MediumMedium Risk


phpInstantGallery is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the index.php and image.php scripts. A remote attacker could exploit this vulnerability using the gallery or imgnum parameter in a specially-crafted URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.


Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
Temporal Score: 4.1
  Exploitability: High
  Remediation Level: Unavailable
  Report Confidence: Uncorroborated


Gain Access


No remedy available as of September 1, 2014.


  • phpInstantGallery Web site: :: phpInstantGallery :: Downloads.
  • BID-29152: phpInstantGallery Multiple Cross-Site Scripting Vulnerabilities
  • CVE-2008-2449: Multiple cross-site scripting (XSS) vulnerabilities in Isaac McGowan phpInstantGallery 2.0 allow remote attackers to inject arbitrary web script or HTML via the (1) gallery parameter to (a) index.php and (b) image.php, and the (2) imgnum parameter to image.php. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
  • OSVDB ID: 45774: phpInstantGallery index.php gallery Parameter XSS
  • OSVDB ID: 45775: phpInstantGallery image.php Multiple Parameter XSS
  • SA30524: phpInstantGallery Multiple Cross-Site Scripting Vulnerabilities

Platforms Affected:

  • Isaac McGowan phpInstantGallery 2.0


May 12, 2008

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page