LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

BID:14624

Info

LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

Bugtraq ID: 14624
Class: Design Error
CVE: CVE-2005-2672
Remote: No
Local: Yes
Published: Aug 22 2005 12:00AM
Updated: Jul 12 2009 05:06PM
Credit: Discovery is credited to Javier Fernandez-Sanguino Pena.
Vulnerable: Redhat Fedora Core4
Redhat Fedora Core3
Redhat Enterprise Linux WS 4
Redhat Enterprise Linux ES 4
Redhat Enterprise Linux AS 4
Redhat Desktop 4.0
Mandriva Linux Mandrake 10.2 x86_64
Mandriva Linux Mandrake 10.2
Mandriva Linux Mandrake 10.1 x86_64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
lm_sensors lm_sensors 2.9.1
lm_sensors lm_sensors 2.9
lm_sensors lm_sensors 2.8.8
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 amd64
lm_sensors lm_sensors 2.8.7
lm_sensors lm_sensors 2.8.6
lm_sensors lm_sensors 2.8.4
Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Not Vulnerable:

Discussion

LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

lm_sensors creates temporary files in an insecure manner. The issue exists in the 'pwmconfig' script.

Exploitation would most likely result in loss of data or a denial of service if critical files are overwritten in the attack. Other attacks may be possible as well.

lm_sensors version 2.9.1 is reportedly affected, however, other versions may be vulnerable as well.

Exploit / POC

LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

There is no exploit required.

Solution / Fix

LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

Solution:
Ubuntu has released security advisory USN-172-1 addressing this issue. Please see the referenced advisory for details on obtaining and applying the appropriate updates.

Mandriva has released advisory MDKSA-2005:149 and fixes to address this issue. Please see the referenced advisory for links to fixes.

Gentoo has released security advisory GLSA 200508-19 addressing this issue. Gentoo recommends all lm_sensors users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/lm_sensors-2.9.1-r1"

Debian has released security advisory 814-1 and fixes to address this issue. Please see the referenced advisory for links to fixes.

Conectiva Linux has released security advisory CLSA-2005:1012 addressing this issue. Please see the referenced advisory for details on obtaining and applying the appropriate updates.

RedHat Fedora has released security advisories FEDORA-2005-1053 and FEDORA-2005-1054 addressing this issue for Fedora Core 3 and Core 4. Users are advised to see the referenced advisories for details on obtaining and applying the appropriate updates.

RedHat Linux has released security advisory RHSA-2005:825-13 addressing this issue for their Desktop and Enterprise editions. Please see the referenced Web advisory for further information.

--
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.


lm_sensors lm_sensors 2.8.4

lm_sensors lm_sensors 2.8.6

lm_sensors lm_sensors 2.8.7

lm_sensors lm_sensors 2.8.8

lm_sensors lm_sensors 2.9

References

LM_sensors PWMConfig Insecure Temporary File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report