python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
BID:52732
Info
python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
| Bugtraq ID: | 52732 |
| Class: | Race Condition Error |
| CVE: |
CVE-2011-4944 |
| Remote: | No |
| Local: | Yes |
| Published: | Mar 27 2012 12:00AM |
| Updated: | Oct 24 2013 12:50AM |
| Credit: | Vincent Danen |
| Vulnerable: |
VMWare ESX Server 4.1 VMWare ESX Server 4.0 Ubuntu Ubuntu Linux 11.10 i386 Ubuntu Ubuntu Linux 11.10 amd64 Ubuntu Ubuntu Linux 11.04 powerpc Ubuntu Ubuntu Linux 11.04 i386 Ubuntu Ubuntu Linux 11.04 ARM Ubuntu Ubuntu Linux 11.04 amd64 Ubuntu Ubuntu Linux 10.04 sparc Ubuntu Ubuntu Linux 10.04 powerpc Ubuntu Ubuntu Linux 10.04 i386 Ubuntu Ubuntu Linux 10.04 ARM Ubuntu Ubuntu Linux 10.04 amd64 RedHat Enterprise Linux Desktop Workstation 5 client Red Hat Enterprise Linux Workstation Optional 6 Red Hat Enterprise Linux Workstation 6 Red Hat Enterprise Linux Server Optional 6 Red Hat Enterprise Linux Server 6 Red Hat Enterprise Linux HPC Node Optional 6 Red Hat Enterprise Linux HPC Node 6 Red Hat Enterprise Linux Desktop Optional 6 Red Hat Enterprise Linux Desktop 6 Red Hat Enterprise Linux Desktop 5 client Red Hat Enterprise Linux 5 Server Python Software Foundation Python 2.5.6 Python Software Foundation Python 3.3 Python Software Foundation Python 3.2 Python Software Foundation Python 2.7 Python Software Foundation Python 2.6 Oracle Enterprise Linux 6.2 Oracle Enterprise Linux 6 Oracle Enterprise Linux 5 Mandriva Linux Mandrake 2011 x86_64 Mandriva Linux Mandrake 2011 Mandriva Linux Mandrake 2010.1 x86_64 Mandriva Linux Mandrake 2010.1 MandrakeSoft Enterprise Server 5 x86_64 MandrakeSoft Enterprise Server 5 Avaya Aura Experience Portal 6.0 |
| Not Vulnerable: | |
Discussion
python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
python is prone to a local race-condition vulnerability that affects the 'distutils' component.
An attacker with sufficient privileges to access victim's home directory can exploit this issue to bypass certain permission restrictions and disclose sensitive information.
python is prone to a local race-condition vulnerability that affects the 'distutils' component.
An attacker with sufficient privileges to access victim's home directory can exploit this issue to bypass certain permission restrictions and disclose sensitive information.
Exploit / POC
python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
Attackers can use readily available tools to exploit this issue.
Attackers can use readily available tools to exploit this issue.
Solution / Fix
python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
Solution:
Updates are available. Please see the references for more information.
Solution:
Updates are available. Please see the references for more information.
References
python 'distutils' Component '~/.pypirc' File Local Race Condition Vulnerability
References:
References:
- Python Homepage (Python Software Foundation)
- ~/.pypirc created insecurely (python)
- Bug 758905 - (CVE-2011-4944) CVE-2011-4944 python: distutils creates ~/.pypirc i (Red Hat Bugzilla)
- HG changeset patch (Philip Jenvey)
- python2.7: distutils creates .pypirc insecurely (Arne Wichmann)