Bug 845350 (CVE-2012-3449)

Summary: CVE-2012-3449 openvswitch: creates world writable directories: /var/lib/openvswitch/pki/*ca/incoming/
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: chrisw, markmc, tgraf
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20120802,reported=20120802,source=internet,cvss2=3.3/AV:L/AC:M/Au:N/C:P/I:P/A:N,fedora-all/openvswitch=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-28 15:33:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 845351    
Bug Blocks:    

Description Kurt Seifried 2012-08-02 19:05:58 UTC
Andreas Beckmann debian@abeckmann.de reports:

openvswitch-pki creates the following world writable directories during

    drwx-wx-wx 2 root root 40 Aug  1 05:32 /var/lib/openvswitch/pki/controllerca/incoming
    drwx-wx-wx 2 root root 40 Aug  1 05:32 /var/lib/openvswitch/pki/switchca/incoming

Even if an ordinary local user cannot list the contents of the
directory, he may correctly derive/guess filenames (unless they are
exclusively $(mktemp)) and delete and replace files in there.

I don't know how openvswitch-pki works, how it uses this directory,
what probelms could possibly arise out of this.


Please note on Fedora 16 and 17 run the command:

/usr/bin/ovs-pki --force init

to create the directories.

Comment 1 Kurt Seifried 2012-08-02 19:06:39 UTC
Created openvswitch tracking bugs for this issue

Affects: fedora-all [bug 845351]

Comment 2 Thomas Graf 2012-11-19 13:56:45 UTC
Fixes pushed to all affected Fedora versions.

Comment 3 Thomas Graf 2013-02-28 15:33:52 UTC
See comment #c2