Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 608032 - (CVE-2010-2241) CVE-2010-2241 redhat-ds: setup script insecure .inf file permissions
CVE-2010-2241 redhat-ds: setup script insecure .inf file permissions
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 593392
  Show dependency treegraph
Reported: 2010-06-25 09:27 EDT by Tomas Hoger
Modified: 2015-07-31 07:59 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-15 14:18:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0590 normal SHIPPED_LIVE Low: Red Hat Directory Server security and enhancement update 2010-08-03 16:12:56 EDT

  None (edit)
Description Tomas Hoger 2010-06-25 09:27:39 EDT
setup-ds.pl and setup-ds-admin.pl scripts used to configure Red Hat / 389 Directory Server instances and administration server instances creates a cache file containing configuration parameters provided by administrator configuring directory server.  The file is created in /tmp with random name as setupXXXXXX.inf.  It contains information such as directory server instance name, user and group under with ns-slapd should run, network port directory and administration server should listen on, base DN and administrative user names and accounts.  This file is created with permissions depending on current umask setting, which is 022 for root account by default, which results in file being created as world readable.  Any local user can take advantage of the weak file permissions and obtain administrative account passwords, which give them full control over directory server instance.

This file is removed at the end of the setup run which limits exposure, but it is not removed when setup is started with -k or --keepcache.

For additional details and patch changing setup scripts to always create cache file with restricted permissions, see:
Comment 1 errata-xmlrpc 2010-08-03 16:13:06 EDT
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-2010:0590 https://rhn.redhat.com/errata/RHSA-2010-0590.html

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