CVE-2010-2241: Low severity redhat directory server vulnerability
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: https://bugzilla.redhat.com/showbug.cgi?id=593392
Other sources
The (1) setup-ds.pl and (2) setup-ds-admin.pl setup scripts for Red Hat Directory Server 8 before 8.2 use world-readable permissions when creating cache files, which allows local users to obtain sensitive information including passwords for Directory and Administration Server administrative accounts.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2010-2241?
CVE-2010-2241 is classified as a moderate severity vulnerability due to its potential exposure of sensitive configuration data.
How do I fix CVE-2010-2241?
To fix CVE-2010-2241, ensure that the scripts do not create cache files with sensitive data in insecure locations such as /tmp.
What are the affected versions for CVE-2010-2241?
CVE-2010-2241 affects Red Hat Directory Server versions 8.0 and 8.1.
How does CVE-2010-2241 impact security?
CVE-2010-2241 can lead to unauthorized access to sensitive configuration parameters that may compromise the directory server.
What is the nature of the vulnerability in CVE-2010-2241?
CVE-2010-2241 involves the improper handling of configuration files which can lead to insecure storage of sensitive data.