Secunia Logo
Netsikker nu! 2008
 
GNU Emacs Local Variable Processing Vulnerability
Secunia Advisory: SA27508
Release Date: 2007-11-05
Popularity: 4,426 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Workaround

Software:GNU Emacs 22.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-5795


Description:
Drake Wilson has reported a vulnerability in GNU Emacs, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to an error in the "hack-local-variables" function where local variables within a file are processed in an insecure manner. This can be exploited to e.g. modify a user's user-init-file and execute arbitrary Emacs Lisp code when a specially crafted file is opened.

Successful exploitation requires that "enable-local-variables" is set to ":safe".

The vulnerability is reported in version 22.1. Other versions may also be affected.

Solution:
Fixed in the CVS repository.
http://cvs.savannah.gnu.org/viewvc/em...es.el?r1=1.896.2.28&r2=1.896.2.29

Provided and/or discovered by:
Drake Wilson

Original Advisory:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 57 views
2. Zeroboard Multiple Script Insertion Vulnerabilities // 57 views
3. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 50 views
4. CA ARCserve Backup Multiple Vulnerabilities // 45 views
5. CUPS Multiple Vulnerabilities // 43 views
6. Red Hat update for cups // 42 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 42 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 38 views
9. Zeroboard Multiple Vulnerabilities // 35 views
10. Wrapsody Viewer "Copy & Paste" Rule Bypass Vulnerability // 32 views