Bug 671199 (CVE-2011-0022)

Summary: CVE-2011-0022 Directory Server: insecure pid file directory permissions
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: a3li, ckannan, dpal, ldv, nhosoi, nkinder, rmeggins, security-response-team, shaines, sramling
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: 2011-04-19 10:03:58 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: 670350, 670922    
Bug Blocks:    

Description Jan Lieskovsky 2011-01-20 18:14:09 UTC
It was discovered that 389 / Red Hat Directory Server's setup scripts
set insecure permissions (0777) on the /var/run/dirsrv directory used to
store Directory Server's pid files when multiple Directory Server
instances were configured on the system to be run under the different
unprivileged users.

A local user could use this flaw to create, remove or replace pid files
in this directory, possibly preventing correct start of the Directory
Server instances, or causing Directory Server init script to kill
arbitrary process during the Directory Server shutdown.

Comment 1 Jan Lieskovsky 2011-01-20 19:29:16 UTC
The CVE identifier of CVE-2011-0022 has been assigned to this issue.

Comment 10 Dmitri Pal 2011-01-31 22:35:13 UTC
*** Bug 669767 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2011-02-22 17:46:09 UTC
This issue has been addressed in following products:

  Red Hat Directory Server 8 for RHEL 4
  Red Hat Directory Server 8 for RHEL 5

Via RHSA-2011:0293 https://rhn.redhat.com/errata/RHSA-2011-0293.html

Comment 15 Tomas Hoger 2011-04-19 10:03:58 UTC
Upstream fix:
http://git.fedorahosted.org/git/?p=389/ds.git;a=commitdiff;h=5135d9a