CVE-2012-5561: Infoleak
Aaron Weitekamp (aweiteka) reports:
Description of problem: /etc/katello/secure/passphrase is world readable. File and directory should be secured. [root@qeblade40 ~]# ls -la /etc/katello/secure total 12 drwxr-xr-x. 2 root root 4096 Nov 13 09:11 . drwxr-xr-x. 3 root root 4096 Nov 14 11:22 .. -rw-r--r--. 1 root root 65 Nov 13 09:11 passphrase [root@qeblade40 ~]# rpm -qf /etc/katello/secure katello-selinux-1.1.1-2.el6cf.noarch [root@qeblade40 ~]# rpm -qf /etc/katello/secure/passphrase file /etc/katello/secure/passphrase is not owned by any package
Version-Release number of selected component (if applicable): 1.1 [root@qeblade40 ~]# rpm -qa |grep katello katello-cli-1.1.8-12.el6cf.noarch katello-1.1.12-22.el6cf.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-certs-tools-1.1.8-1.el6cf.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-glue-pulp-1.1.12-22.el6cf.noarch katello-all-1.1.12-22.el6cf.noarch katello-cli-common-1.1.8-12.el6cf.noarch katello-glue-candlepin-1.1.12-22.el6cf.noarch katello-selinux-1.1.1-2.el6cf.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-common-1.1.12-22.el6cf.noarch katello-configure-1.1.9-12.el6cf.noarch
Steps to Reproduce: 1. ls -la /etc/katello/secure 2. rpm -qf /etc/katello/secure Actual results: File and directory are world readable
Other sources
script/katello-generate-passphrase in Katello 1.1 uses world-readable permissions for /etc/katello/secure/passphrase, which allows local users to obtain the passphrase by reading the file.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-5561?
CVE-2012-5561 is classified as a medium severity vulnerability due to improper file permissions allowing unauthorized access.
How do I fix CVE-2012-5561?
To fix CVE-2012-5561, change the file permissions of /etc/katello/secure/passphrase to restrict access to only the root user.
What systems are affected by CVE-2012-5561?
CVE-2012-5561 affects Katello version 1.1 and related installations.
What type of vulnerability is CVE-2012-5561?
CVE-2012-5561 is a file permission vulnerability that exposes sensitive information due to improper settings.
Is there a patch available for CVE-2012-5561?
Yes, patches for CVE-2012-5561 can be applied by updating to the latest version of Katello that addresses this vulnerability.