gEdit PySys_SetArgv() function privilege escalation
|gedit-pysyssetargv-privilege-escalation (48271)||Medium Risk|
gEdit could allow a local attacker to gain elevated privileges on the system, caused by an untrusted search path vulnerability in the Python module related to the PySys_SetArgv() function when setting sys.path. By placing a Python file in the application's working directory containing the same name as an imported file, an attacker could exploit this vulnerability to execute arbitrary Python code on the system with privileges of the application.
Refer to FEDORA-2009-1189 for patch, upgrade or suggested workaround information. See References.
- FEDORA-2009-1189: gedit-2.22.3-3.fc9 security update.
- gedit Web page: gedit.
- Red Hat Bugzilla ¿ Bug 481556 : gedit: untrusted python modules search path.
- BID-33445: gedit 'PySys_SetArgv' Remote Command Execution Vulnerability
- CVE-2009-0314: Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).
- GLSA-200903-41: gedit: Untrusted search path
- MDVSA-2009:039: gedit
- SA33759: GNOME gedit Insecure Python Module Search Path Vulnerability
- gEdit gEdit 2.0.2
- gEdit gEdit 2.10.2
- gEdit gEdit 2.16
- gEdit gEdit 2.2.0
- gEdit gEdit 2.22.2
- gEdit gEdit 2.24.1
- gEdit gEdit 2.8.1
- gEdit gEdit 2.8.3
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- Mandriva Linux 2009.0
- Mandriva Linux 2009.0 X86_64
Jan 26, 2009
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. 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. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.