YaPiG view.php script cross-site scripting

yapig-viewphp-xss (22752) The risk level is classified as MediumMedium Risk

Description:

YaPiG is vulnerable to cross-site scripting. If register_globals is enabled, a remote attacker could create a malicious URL link to the view.php script containing embedded script in the img_size parameter which, once the link is clicked, would be executed in the victim's Web browser within the security context of the hosting site. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials or take action on the site as the targeted victim.

Platforms Affected:

  • YaPiG, YaPiG 0.95b and prior

Remedy:

No remedy available as of July 4, 2009.

Consequences:

Gain Access

References:

  • YaPiG Web page, YaPiG Home Page - Yet Another PHP Image Gallery at http://yapig.sourceforge.net/index.php.
  • BID-15092: Yapig View.PHP Cross-Site Scripting Vulnerability
  • BID-15095: YaPig Homepage Form Field HTML Injection Vulnerability
  • CVE-2005-4799: Multiple cross-site scripting (XSS) vulnerabilities in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allow remote attackers to inject arbitrary web script or HTML via (1) the Homepage field (aka the Website field) in an image-related comment and (2) the img_size field in view.php. NOTE: due to lack of details from the researcher, it is not clear whether the comment vector overlaps CVE-2005-1886.
  • OSVDB ID: 19958: YaPiG Image-related Comment Homepage Field XSS
  • OSVDB ID: 19959: YaPiG view.php img_size Variable XSS
  • SA17041: YaPiG Multiple Vulnerabilities

Reported:

Oct 13, 2005

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