Coppermine Photo Gallery "keywords" Script Insertion

by Carol~ Moderator - 3/30/12 7:34 AM

In Reply to: VULNERABILITIES / FIXES - March 30, 2012 by Carol~ Moderator

Coppermine Photo Gallery "keywords" Script Insertion Vulnerability

Release Date : 2012-03-30

Criticality level : Less critical
Impact : Cross Site Scripting
Where : From remote
Solution Status : Vendor Patch

Software: Coppermine Photo Gallery 1.x

Description:
Janek Vind has discovered a vulnerability in Coppermine Photo Gallery, which can be exploited by malicious users to conduct script insertion attacks.

Input passed via the "keywords" POST parameter to edit_one_pic.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.

Successful exploitation requires access rights to edit image information.

The vulnerability is confirmed in version 1.5.18. Prior versions may also be affected.

Solution:
Update to version 1.5.20.

Provided and/or discovered by:
Janek Vind

Original Advisory:
Coppermine Photo Gallery:
http://forum.coppermine-gallery.net/index.php/topic,74682.0.html

waraxe-2012-SA#081:
http://www.waraxe.us/advisory-81.html

http://secunia.com/advisories/48643/