Python move-faqwiz.sh symlink
| python-movefaqwiz-symlink (45161) |
Description:
Python could allow a local attacker to launch a symlink attack. The move-faqwiz.sh script creates temporary files insecurely. A local attacker could exploit this vulnerability by creating a symbolic link from a temporary file to other various files on the system, which would allow the attacker to overwrite arbitrary files on the system with elevated privileges.
*CVSS:
| Base Score: | 3.3 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.1 |
| Exploitability: | High |
| Remediation Level: | Unavailable |
| Report Confidence: | Uncorroborated |
Consequences:
File Manipulation
Remedy:
No remedy available as of May 1, 2013.
References:
- Debian Bug report logs - #498899: Unsecure use of temporary file.
- Python Web site: Python Programming Language.
- Red Hat Bugzilla Bug 462326: CVE-2008-4108 python: Generic FAQ wizard moving tool insecure auxiliary /tmp file usage (symlink attack possible).
- BID-31184: Python 'move-faqwiz.sh' Insecure Temporary File Creation Vulnerability
- CVE-2008-4108: Tools/faqwiz/move-faqwiz.sh (aka the generic FAQ wizard moving tool) in Python 2.4.5 might allow local users to overwrite arbitrary files via a symlink attack on a tmp$RANDOM.tmp temporary file. NOTE: there may not be common usage scenarios in which tmp$RANDOM.tmp is located in an untrusted directory.
- OSVDB ID: 49562: Python Tools/faqwiz/move-faqwiz.sh tmp$RANDOM.tmp File Symlink Arbitrary File Overwrite
- SECTRACK ID: 1020904: Python 'move-faqwiz.sh' Uses Unsafe Temporary Files That Let Local Users Gain Elevated Privileges
- VUPEN/ADV-2008-2659: Python move-faqwiz.sh Insecure Temporary File Vulnerability
Platforms Affected:
- Python Python 2.3.4
- Python Python 2.3.5
- Python Python 2.3.6
- Python Python 2.4
- Python Python 2.4.1
- Python Python 2.4.2
- Python Python 2.4.3
- Python Python 2.4.4
- Python Python 2.4.4 r14
- Python Python 2.4.5
Reported:
Sep 14, 2008
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.
