Possible Shell Command Injection in daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scope-audacious (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-clementine (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-gmusicbrowser (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-gourmet (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-guayadeque (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-musique (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
File :
/usr/share/
Function " do_activate" is vulnerable to Shell Commands in the filename of the tracks, the dirname of the album and the albumtracks.
os.system("xdg-open '%s'" % str(dirname))
##Example : xterm starts when dirname=
same Problem here :
os.system(
So ...
Should not use os.system.
Should use subprocess.popen with the parameter Shell=False or should use quote().
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: unity-scope-
ProcVersionSign
Uname: Linux 4.1.0-3-generic x86_64
NonfreeKernelMo
ApportVersion: 2.18-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Aug 9 20:29:56 2015
InstallationDate: Installed on 2015-08-09 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150808)
PackageArchitec
SourcePackage: unity-scope-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
summary: |
- Possible Shell Comand Injection in deamon + Possible Shell Command Injection in daemon |
information type: | Public → Public Security |
Changed in unity-scope-audacious (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-clementine (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-gmusicbrowser (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-gourmet (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-guayadeque (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-scope-musique (Ubuntu): | |
status: | New → Confirmed |
Same issues in : unity-scopes/ audacious/ unity_audacious _daemon. py unity-scopes/ guayadeque/ unity_guayadequ e_daemon. py unity-scopes/ clementine/ unity_clementin e_daemon. py unity-scopes/ musique/ unity_musique_ daemon. py
/usr/share/
/usr/share/
/usr/share/
/usr/share/