Dia PySys_SetArgv() function privilege escalation
|dia-pysyssetargv-privilege-escalation (48262)||Medium Risk|
Dia could allow a local attacker to gain elevated privileges on the system, caused by an untrusted search path vulnerability in the Python plugin 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.
Apply the appropriate update for your system. See References.
- Debian Bug report logs - #504251: dia: Python scripts load modules from current directory.
- Dia Web page: Dia a drawing program.
- Red Hat Bugzilla ¿ Bug 481551: dia: untrusted python modules search path.
- BID-33448: Dia 'PySys_SetArgv' Remote Command Execution Vulnerability
- CVE-2008-5984: Untrusted search path vulnerability in the Python plugin in Dia 0.96.1, and possibly other versions, 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).
- MDVSA-2009:040: dia
- MDVSA-2009:046: dia
- MDVSA-2009:046-1: dia
- SA33672: Dia Insecure Python Module Search Path Vulnerability
- Dia Dia 0.96.1
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- Mandriva Linux 2009.0 X86_64
- Mandriva Linux 2009.0
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.