XEmacs and GNU Emacs .flc files code execution
| xemacs-gnuemacs-flc-code-execution (42362) |
Description:
XEmacs and GNU Emacs could allow a remote attacker to execute arbitrary code on the system, caused by an error when processing fast-lock files (.flc) for source files. If "font-lock-support-mode" is set to "fast-lock-mode", a remote attacker could persuade a victim to open a specially-crafted source file in the same directory as a malformed fast-lock file and execute arbitrary Emacs Lisp code on the vulnerable system.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
For GNU Emacs:
Apply the fix, available from the GNU Emacs CVS Repository. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- emacs-devel Mailing List, Sat, 10 May 2008 00:44:44 +0300: Emacs security bug.
- Gentoo Bugzilla Bug 221197: app-editors/emacs <=21.4-r16 fast-lock-mode arbitrary lisp code execution (CVE-2008-2142).
- GNU Emacs CVS Repository: View of /src/patchsets/emacs/21.4/18_all_fast-lock.patch.
- GNU Emacs Web site: GNU Emacs - GNU Project - Free Software Foundation (FSF).
- XEmacs Issue378 : .flc files can run arbitrary code automatically - XEmacs Issue Tracking System:.
- BID-29176: GNU Emacs '.flc' File Processing Vulnerability
- CVE-2008-2142: Emacs 21 and XEmacs automatically load and execute .flc (fast lock) files that are associated with other files that are edited within Emacs, which allows user-assisted attackers to execute arbitrary code.
- MDVSA-2008:153: Updated emacs packages fix vulnerability
- MDVSA-2008:154: Updated xemacs packages fix vulnerability
- SA30199: GNU Emacs "fast-lock-mode" File Processing Vulnerability
- SA30216: XEmacs "fast-lock-mode" File Processing Vulnerability
- SECTRACK ID: 1020019: GNU Emacs Automatically Executes Code in Fast Lock (.flc) Files
- SUSE-SR:2008:012: SUSE Security Summary Report
- VUPEN/ADV-2008-1539: GNU Emacs Fast-lock Files Processing Code Execution Vulnerability
- VUPEN/ADV-2008-1540: XEmacs Fast-lock Files Processing Code Execution Vulnerability
Platforms Affected:
- GNU emacs 21.3.1
- GNU XEmacs 21.4
- GNU XEmacs 21.5
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- 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 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
Reported:
May 10, 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 xforce@iss.net
* 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.
