shell metacharacters mishandled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firejail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Zesty |
New
|
Undecided
|
Unassigned |
Bug Description
I think this is a security bug, see what happens with backticks in a filename:
$ touch testfile
$ imv testfile
> testfile `touch badness`
$ firejail ls testfile*
Reading profile /etc/firejail/
Reading profile /etc/firejail/
Reading profile /etc/firejail/
Reading profile /etc/firejail/
** Note: you can use --noprofile to disable generic.profile **
Parent pid 23142, child pid 23143
Child process initialized
ls: cannot access 'testfile ': No such file or directory
parent is shutting down, bye...
$ ls badness
badness
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: firejail 0.9.38.
ProcVersionSign
Uname: Linux 4.4.0-64-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: LXDE
Date: Tue Feb 28 22:09:38 2017
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu5
libgcc1 1:6.0.1-0ubuntu1
InstallationDate: Installed on 2010-11-27 (2285 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: firejail
UpgradeStatus: Upgraded to xenial on 2016-07-25 (218 days ago)
modified.
mtime.conffile.
Changed in firejail (Ubuntu): | |
status: | Incomplete → Fix Released |
Hi Erno - The firejail package is in universe and is, therefore, community supported. Could you please report this issue to the upstream project? Thank you!