Bug 1551801 (CVE-2017-9286)

Summary: CVE-2017-9286 nextcloud: privileges escalation to root during nextcloud package upgrade
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cglombek, james.hogarth, shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 09:17:28 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: 1551802, 1551803    
Bug Blocks:    

Description Laura Pardo 2018-03-06 00:14:03 UTC
The packaging of NextCloud in openSUSE used /srv/www/htdocs in an unsafe manner, which could have allowed scripts running as wwwrun user to escalate privileges to root during nextcloud package upgrade.


References:
https://lists.opensuse.org/opensuse-updates/2017-10/msg00010.html
https://bugzilla.suse.com/show_bug.cgi?id=1036756

Comment 1 Laura Pardo 2018-03-06 00:14:23 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 1551803]
Affects: epel-7 [bug 1551802]

Comment 2 Christian Glombek 2018-03-06 12:02:53 UTC
Do I correctly assume this only affects the SUSE rpm and does not affect the nexctloud rpm in the Fedora repos?

Comment 3 Andrej Nemec 2018-03-29 09:17:28 UTC
(In reply to Christian Glombek from comment #2)
> Do I correctly assume this only affects the SUSE rpm and does not affect the
> nexctloud rpm in the Fedora repos?

Correct, this is relevant to the nextcloud packaging in openSUSE.