Bug 971859 (CVE-2013-2149)

Summary: CVE-2013-2149 owncloud: Cross-site scripting in owncloud jQuery dialogs due improper escaping of filenames in filepicker module (oC-SA-2013-028)
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gregor
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ownCloud-5.0.7, ownCloud-4.5.12, ownCloud-4.0.16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:38:54 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: 971864, 971865    
Bug Blocks:    

Description Jan Lieskovsky 2013-06-07 12:51:46 UTC
A cross-site scripting flaw was found in the way jQuery dialogs handling functionality of ownCloud, a private file synchronization tool and share server, performed sanitization of the file name arguments in the filepicker module. A remote attacker could provide a specially-crafted web page that, when visited would lead to arbitrary HTML or web script execution in the context of the ownCloud user's session.

References:
[1] http://www.openwall.com/lists/oss-security/2013/06/07/3

Upstream patches:
[2] https://github.com/owncloud/core/commit/752a316 (against stable5 branch)
[3] https://github.com/owncloud/core/commit/600afad (against stable45 branch)
[4] https://github.com/owncloud/core/commit/17b44bf (against stable4 branch)

Comment 1 Jan Lieskovsky 2013-06-07 13:00:14 UTC
This issue affects the versions of the owncloud package as shipped with Fedora release of 18 and Fedora EPEL-6. Please schedule an update.

Comment 2 Jan Lieskovsky 2013-06-07 13:01:52 UTC
Created owncloud tracking bugs for this issue

Affects: fedora-18 [bug 971864]
Affects: epel-6 [bug 971865]

Comment 3 Jan Lieskovsky 2013-06-07 14:05:15 UTC
Upstream advisory:
  http://owncloud.org/about/security/advisories/oC-SA-2013-028/

Comment 4 Fedora Update System 2013-06-23 21:32:19 UTC
owncloud-4.5.12-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-06-24 03:27:01 UTC
owncloud-4.5.12-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.