Bug 811926 (CVE-2011-4954)

Summary: CVE-2011-4954 cobbler: Local privilege escalation due use of insecure (world writable) location for PYTHON_EGG_CACHE cache
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: awood, dgoodwin, jpazdziora, shenson, vanmeeuwen+fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 16:12:12 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: 811942, 811943    
Bug Blocks: 811959    

Description Jan Lieskovsky 2012-04-12 10:54:03 UTC
A local privilege escalation flaw was found in the way Cobbler, a network install server, performed management of its egg cache. A local attacker able to trick the administrator to run cobbler with specially-crafted PYTHON_EGG_CACHE content could use this flaw to escalate their privileges and potentially execute arbitrary code with the privileges of privileged system user (root).

References:
[1] https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/858875

CVE Request:
[2] http://www.openwall.com/lists/oss-security/2012/04/12/6

Upstream ticket:
[3] https://fedorahosted.org/cobbler/ticket/688

Relevant upstream patch:
[4] https://d-feet.fedorahosted.org/cobbler/attachment/ticket/688/58_fix_egg_cache.patch

Comment 1 Jan Lieskovsky 2012-04-12 10:57:04 UTC
This issue affects the versions of the cobbler package, as shipped with Fedora
EPEL 5 and Fedora EPEL 6. Please schedule an update.

As of right now, this issue did NOT affect the current versions of the cobbler
package, as shipped with Fedora release of 15 and 16 (the cobbler-2.0.11-3.*
versions). But since there are cobbler-2.2.2-1.fc* versions scheduled to get
next stable versions and these are affected too, please schedule Fedora release
15 and 16 cobbler package versions updates too.

Comment 2 Jan Lieskovsky 2012-04-12 10:58:32 UTC
This issue did NOT affect the version of the cobbler package, as shipped with Red Hat Network Satellite Server version 5.4.1 for Red Hat Enterprise Linux 5 and 6.

Comment 3 Jan Lieskovsky 2012-04-12 11:28:16 UTC
Created cobbler tracking bugs for this issue

Affects: fedora-all [bug 811942]
Affects: epel-all [bug 811943]

Comment 4 Kurt Seifried 2012-04-12 16:14:51 UTC
Added CVE as per http://www.openwall.com/lists/oss-security/2012/04/12/10

Comment 5 Jan Lieskovsky 2012-06-20 16:12:12 UTC
Statement:

This issue did not affect the version of cobbler as shipped with Red Hat Network Satellite Server 5.4 as it did not include the upstream commit be4fc806637cf8cec275fea80b892182879580eb that introduced this flaw.