Coppermine Photo Gallery 1.4.21 - 'css' Cross-Site Scripting

EDB-ID:

32963




Platform:

PHP

Date:

2009-04-29


source: https://www.securityfocus.com/bid/34782/info

Coppermine Photo Gallery is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage this issue 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.

Versions prior to Coppermine Photo Gallery 1.4.22 are vulnerable. 

http://www.example.com/docs/showdoc.php?css=1>"><ScRiPt%20%0a%0d>alert(123)%3B</ScRiPt>