Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

BID:34782

Info

Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

Bugtraq ID: 34782
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Apr 29 2009 12:00AM
Updated: May 05 2009 01:37AM
Credit: Gerendi Sandor Attila
Vulnerable: Coppermine Photo Gallery 1.4.21
Coppermine Photo Gallery 1.4.20
Coppermine Photo Gallery 1.4.18
Coppermine Photo Gallery 1.4.17
Coppermine Photo Gallery 1.4.16
Coppermine Photo Gallery 1.4.15
Coppermine Photo Gallery 1.4.14
Coppermine Photo Gallery 1.4.13
Coppermine Photo Gallery 1.4.12
Coppermine Photo Gallery 1.4.11
Coppermine Photo Gallery 1.4.10
Coppermine Photo Gallery 1.4.9
Coppermine Photo Gallery 1.4.4
Coppermine Photo Gallery 1.4.3
Coppermine Photo Gallery 1.4.2
Coppermine Photo Gallery 1.4
Not Vulnerable: Coppermine Photo Gallery 1.4.22

Discussion

Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

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.

Exploit / POC

Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.

The following example URI is available:

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

Solution / Fix

Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

Solution:
The vendor has released an update. Please see the references for details.


Coppermine Photo Gallery 1.4

Coppermine Photo Gallery 1.4.10

Coppermine Photo Gallery 1.4.11

Coppermine Photo Gallery 1.4.12

Coppermine Photo Gallery 1.4.13

Coppermine Photo Gallery 1.4.14

Coppermine Photo Gallery 1.4.15

Coppermine Photo Gallery 1.4.16

Coppermine Photo Gallery 1.4.17

Coppermine Photo Gallery 1.4.18

Coppermine Photo Gallery 1.4.2

Coppermine Photo Gallery 1.4.20

Coppermine Photo Gallery 1.4.21

Coppermine Photo Gallery 1.4.3

Coppermine Photo Gallery 1.4.4

Coppermine Photo Gallery 1.4.9

References

Coppermine Photo Gallery 'css' Parameter Cross-Site Scripting Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report