Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Secunia Research: Vim "helptags" Command Format String Vulnerability

====================================================================== 

                     Secunia Research 27/07/2007

        - Vim "helptags" Command Format String Vulnerability -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software

* Vim 6.4
* Vim 7.1

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Less Critical
Impact: System access
Where:  From remote

====================================================================== 
3) Vendor's Description of Software 

"Vim is a highly configurable text editor built to enable efficient text
editing. It is an improved version of the vi editor distributed with
most UNIX systems."

Product Link:
http://www.vim.org/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in Vim, which can be
exploited by malicious people to compromise a vulnerable system.

A format string error in the "helptags_one()" function in 
src/ex_cmds.c when running the "helptags" command can be exploited to
execute arbitrary code via specially crafted help files.

Successful exploitation requires that the user is tricked into running
"helptags" on malicious data.

====================================================================== 
5) Solution 

Apply the vendor's official patch:
ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.039

====================================================================== 
6) Time Table 

17/07/2007 - Vendor notified (Red Hat, vendor-sec list, and Vim).
17/07/2007 - Vendor response.
27/07/2007 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Ulf Harnhammar, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2007-2953 for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://corporate.secunia.com/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://corporate.secunia.com/secunia_research/33/

Secunia regularly hires new skilled team members. Check the URL below 
to see currently vacant positions:

http://secunia.com/secunia_vacancies/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/secunia_security_advisories/ 

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2007-66/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================










Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Novell eDirectory Multiple Vulnerabilities
2.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
3.
dotProject SQL Injection and Cross-Site Scripting
4.
GpsDrive "geo-code" Insecure Temporary Files
5.
HP TCP/IP Services for OpenVMS Finger Format String Vulnerability
6.
Sun Solaris Kernel Covert Channel Security Bypass
7.
Adium MSN SLP Message Integer Overflow Vulnerabilities
8.
phpMyRealty "price_max" SQL Injection Vulnerability
9.
Acoustica Mixcraft ".mx4" File Processing Buffer Overflow
10.
Caudium "configvar" Insecure Temporary Files





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia