Bug 962439

Summary: gallery3: XSS in Movie controller due improper sanitization of (certain) movie title(s) when saving movies
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Gallery-3.0.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-14 08:55:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 962440, 962441    
Bug Blocks:    

Description Jan Lieskovsky 2013-05-13 13:52:09 UTC
A cross-site scripting (XSS) flaw was found in the way Movie controller of Gallery, an open source project with the goal to develop and support leading photo sharing web application solutions, performed sanitization of certain movie title arguments, when saving movies. A remote attacker could provide a specially-crafted web page that, when visited by valid Gallery user, would lead to arbitrary HTML or web script execution in the context of particular Gallery user's session.

References:
[1] http://www.openwall.com/lists/oss-security/2013/05/13/2
[2] http://galleryproject.org/gallery_3_0_7

Relevant upstream patch:
[3] https://github.com/gallery/gallery3/commit/0f28d4cee460dfada48bd6c81470db62e48b16d0

Comment 1 Jan Lieskovsky 2013-05-13 13:53:07 UTC
This issue affects the versions of the gallery3 package, as shipped with Fedora release of 17, 18, and Fedora EPEL-6. Please schedule an update.

Comment 2 Jan Lieskovsky 2013-05-13 13:55:04 UTC
Created gallery3 tracking bugs for this issue

Affects: fedora-all [bug 962440]
Affects: epel-6 [bug 962441]

Comment 3 Jan Lieskovsky 2013-05-13 14:04:18 UTC
This issue did NOT affect the versions of the gallery2 package, as shipped with Fedora release of 17, 18, and Fedora EPEL-5, as they did NOT contain the vulnerable code part / functionality yet.

Comment 4 Jan Lieskovsky 2013-05-14 08:55:34 UTC

*** This bug has been marked as a duplicate of bug 962437 ***