J-Security Center

Title: mcGallery 'lang' Parameter Multiple Cross Site Scripting Vulnerabilities

Severity: MODERATE

Description:

mcGallery is photo gallery implemented in PHP.

The application is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input to the 'lang' parameter in the following scripts:

'index.php'
'sess.php'
'stats.php'
'resize.php'
'admin.php'
'detail.php'
'show.php'

An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

mcGallery 1.1 is vulnerable; other versions may also be affected.

Affected Products:

  • PhpForums.net mcGallery 1.1

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.