Bug 13712 - owncloud new security issue fixed upstream in 5.0.17 and 6.0.4
Summary: owncloud new security issue fixed upstream in 5.0.17 and 6.0.4
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/604857/
Whiteboard: MGA3TOO advisory mga3-32-ok MGA3-64-O...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-07-09 19:53 CEST by David Walser
Modified: 2014-07-30 20:10 CEST (History)
5 users (show)

See Also:
Source RPM: owncloud-6.0.3-1.mga4.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2014-07-09 19:53:41 CEST
Upstream announced new versions on June 28:
http://mailman.owncloud.org/pipermail/announcements/2014-June/000048.html

Details on the security issue have not been released yet, but the rest of the changes are listed here:
http://owncloud.org/changelog/

Updated packages uploaded for Mageia 3 and Mageia 4.

Advisory:
========================

Updated owncloud package fixes security vulnerability:

Owncloud versions 5.0.17 and 6.0.4 fix an unspecified security vulnerability,
as well as many other bugs.

See the upstream Changelog for more information.

References:
http://owncloud.org/changelog/
========================

Updated packages in core/updates_testing:
========================
owncloud-5.0.17-1.mga3
owncloud-6.0.4-1.mga4

from SRPMS:
owncloud-5.0.17-1.mga3.src.rpm
owncloud-6.0.4-1.mga4.src.rpm

Reproducible: 

Steps to Reproduce:
David Walser 2014-07-09 19:53:47 CEST

Whiteboard: (none) => MGA3TOO

Comment 1 Simon Parsons 2014-07-11 00:13:05 CEST
Postgresql PDO driver not being installed by installation script.

Installed OwnCloud 6.04 on MGA4x64 test system with postgresql as the database.

Unable to get beyond setup.php with popup error message "Error while trying to create admin user:" "could not find driver".

Manually installed php-pdo_pgsql and it all worked.

CC: (none) => gm4nzg

Comment 2 Lewis Smith 2014-07-13 20:05:32 CEST
Testing MGA4 64-bit real hardware (with Postgresql).

Installed owncloud-6.0.3-1.mga4 and Postgresql.
Set up Owncloud as per:
 http://doc.owncloud.org/server/6.0/admin_manual/installation/installation_wizard.html
->
 http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_database.html
Set up the database following precise instructions at:
 http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_database.html/#postgresql-database
 [or #mysql-mariadb-database or #sqlite-database as you wish].

On first launching Owncloud via
 http://localhost/owncloud I was stuck with a straight Login screen from an old installation. Following advice to remove
 /usr/share/owncloud/config/config.php
(which should have been removed by urpme owncloud in my view) I got the correct Setup screen. Selecting 'Advanced', Postgresql database, this needed 4 parameters:
- Database username
- This username's password (confusingly called 'Database password')
- Database name
- Database host name, here localhost.

After which it started & worked OK within the poking around I did. Subsequent accesses just give the straight Login screen, correctly.
Using Opera, the main admin interface did not have the penultimate Bookmarks icon (but space for it) on the left, and the bottom '+' icon to add applications was 1/2 hidden - and could not be brought into view - but showed just enough to work.

Updated from Core Updates Testing to:
 owncloud-6.0.4-1.mga4
and re-launching it, it acknowledged that it had been updated but this passed too quickly to the normal Login screen to note the few comments output.
Repeating the exploratory functionality tried before the update, everything seemed the same.

CC: (none) => lewyssmith
Whiteboard: MGA3TOO => MGA3TOO MGA4-64-OK

Comment 3 Lewis Smith 2014-07-13 20:08:46 CEST
I should have added at the beginning of Comment 2 that already installed was every known [?] PHP pkg from a recent PHP update.
Comment 4 claire robinson 2014-07-14 19:27:38 CEST
Testing complete mga3 32

Whiteboard: MGA3TOO MGA4-64-OK => MGA3TOO mga3-32-ok MGA4-64-OK

Comment 5 William Kenney 2014-07-15 18:45:57 CEST
In VirtualBox, M3, KDE, 64-bit

Package(s) under test:
owncloud

default install of owncloud

[root@localhost wilcal]# urpmi owncloud
Package owncloud-5.0.16-1.mga3.noarch is already installed

http://localhost/owncloud gets me the initialization page.
I can log in as root user then create a contact.
I can create an event in the calendar.
I can add music and pictures.

install owncloud from updates_testing

[root@localhost wilcal]# urpmi owncloud
Package owncloud-5.0.17-1.mga3.noarch is already installed

http://localhost/owncloud gets me the initialization page.
I can log in as root user then create another contact.
I can create another event in the calendar.
I can add more music and pictures.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.10-1.1.mga4.x86_64
virtualbox-guest-additions-4.3.10-1.1.mga4.x86_64

CC: (none) => wilcal.int
Whiteboard: MGA3TOO mga3-32-ok MGA4-64-OK => MGA3TOO mga3-32-ok MGA3-64-OK MGA4-64-OK

Comment 6 claire robinson 2014-07-18 15:41:51 CEST
Testing complete mga4 32

Whiteboard: MGA3TOO mga3-32-ok MGA3-64-OK MGA4-64-OK => MGA3TOO mga3-32-ok MGA3-64-OK mga4-32-ok MGA4-64-OK

Comment 7 claire robinson 2014-07-18 15:54:36 CEST
Validating. Advisory uploaded.

Could sysadmin please push to 3 & 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: MGA3TOO mga3-32-ok MGA3-64-OK mga4-32-ok MGA4-64-OK => MGA3TOO advisory mga3-32-ok MGA3-64-OK mga4-32-ok MGA4-64-OK
CC: (none) => sysadmin-bugs

Comment 8 Colin Guthrie 2014-07-26 14:55:39 CEST
Update pushed

http://advisories.mageia.org/MGASA-2014-0301.html

Status: NEW => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED

Comment 9 David Walser 2014-07-30 20:10:44 CEST
Details on the security issue are now available.  Updated advisory below.

Advisory:
========================

Updated owncloud package fixes security vulnerability:

In ownCloud before 5.0.17 and 6.0.4, there exists a limited local file
inclusion vulnerability due to an improper control of the filename for a
require_once() statement in the routing component (CVE-2014-4929).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4929
http://owncloud.org/security/advisory/?id=oc-sa-2014-018
http://owncloud.org/changelog/

Note You need to log in before you can comment on or make changes to this bug.