Tomas Golembiovsky has discovered a vulnerability in Vim, which can be exploited by malicious people to compromise a user's system.
The vulnerability is caused due to the application allowing e.g. the "feedkeys()" function to be called in the sandbox. This can be exploited to execute arbitrary commands with privileges of the Vim user.
Successful exploitation requires that the "modelines" option is enabled and the user is tricked into opening a malicious file.
The vulnerability is confirmed in version 7.0.219. Other versions may also be affected.
Solution: Update to version 7.0.235.
Provided and/or discovered by: Tomas Golembiovsky
Original Advisory: http://marc.info/?l=vim-dev&m=117762581821298&w=2
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Vim Modelines "feedkeys()" Shell Command Execution
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.