Bug 742837 (CVE-2011-4339) - CVE-2011-4339 OpenIPMI: IPMI event daemon creates PID file with world writeable permissions
Summary: CVE-2011-4339 OpenIPMI: IPMI event daemon creates PID file with world writeab...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-4339
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 756684 756685 767049 834190
Blocks: 753218 816611
TreeView+ depends on / blocked
 
Reported: 2011-10-03 04:03 UTC by Masahiro Matsuya
Modified: 2019-09-29 12:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 09:10:07 UTC


Attachments (Terms of Use)
proposed patch to remove umask(0) (373 bytes, patch)
2011-10-03 04:03 UTC, Masahiro Matsuya
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1814 normal SHIPPED_LIVE Moderate: ipmitool security update 2011-12-14 02:08:04 UTC
Red Hat Product Errata RHSA-2013:0123 normal SHIPPED_LIVE Low: OpenIPMI security, bug fix, and enhancement update 2013-01-08 09:10:13 UTC

Comment 3 Jan Lieskovsky 2011-11-11 14:14:04 UTC
A insecure file permissions flaw was found in the way IPMI event daemon of the  OpenIPMI (Intelligent Platform Management Interface) library and tools created its PID file (it was created with 0666 permissions). A local user could use this flaw to kill arbitrary running process during ipmievd service shutdown.

Comment 5 Jan Lieskovsky 2011-11-11 15:48:08 UTC
This issue did NOT affect the version of the OpenIPMI package, as shipped with Red Hat Enterprise Linux 4.

--

This issue did NOT affect the version of the OpenIPMI package, as shipped with Red Hat Enterprise Linux 5 in the default configuration. Though custom configurations of the ipmievd daemon (those using /var/run/ipmievd.pid as a PID file) are affected by this issue too.

--

This issue affects the versions of the ipmitool package, as shipped with Red Hat Enterprise Linux 6.

--

This issue did NOT affect the versions of the ipmitool package, as shipped with Fedora release of 14, 15, and 16 in the default configuration. Though custom configurations of the ipmievd daemon (those using /var/run/ipmievd.pid as a PID file) are affected by this issue too.

Comment 10 Huzaifa S. Sidhpurwala 2011-11-23 09:42:39 UTC
Jan,

Hi, could you please look at the patch and let me know if you are ok with it?

Comment 11 Jan Safranek 2011-11-23 10:00:55 UTC
(In reply to comment #10)
> Hi, could you please look at the patch and let me know if you are ok with it?

Yes, the patch is fine.

Comment 23 Huzaifa S. Sidhpurwala 2011-12-13 03:55:46 UTC
Created ipmitool tracking bugs for this issue

Affects: fedora-all [bug 767049]

Comment 24 errata-xmlrpc 2011-12-13 21:08:43 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 26 Fedora Update System 2012-01-02 21:55:53 UTC
ipmitool-1.8.11-7.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2012-01-02 21:56:28 UTC
ipmitool-1.8.11-8.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 32 errata-xmlrpc 2013-01-08 04:52:25 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0123 https://rhn.redhat.com/errata/RHSA-2013-0123.html

Comment 34 Huzaifa S. Sidhpurwala 2013-01-08 09:10:07 UTC
Statement:

(none)


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