Mageia Bugzilla – Bug 9153
hplip new security issue CVE-2013-0200
Last modified: 2013-02-27 22:08:18 CET
RedHat has issued an advisory today (February 21):
Patched packages uploaded for Mageia 2 and Cauldron.
Updated hplip packages fix security vulnerability:
Several temporary file handling flaws were found in HPLIP. A local attacker
could use these flaws to perform a symbolic link attack, overwriting
arbitrary files accessible to a process using HPLIP (CVE-2013-0200).
Updated packages in core/updates_testing:
Steps to Reproduce:
Patch checked into Mageia 1 SVN.
Testing i586 with hp laserjet 6l printer.
Checked new files written to /tmp --needed a long-ish document to generate files.
linked files written to /tmp with user and group root
linked files written to /tmp with user and group as currently logged in user.
/tmp files written during scanning with hp scanjet 5p (SCSI) were not symlinks and were delete upon closing xsane.
able to print with unupdated cups on remote laptop. Apparently due to the greater RAM in the laptop, no files written to /tmp on either machine with up to 12 pages of graphics-heavy ppd attempted.
Per Luigi12: new filenames in /tmp should be:
the filenames from the patched code are /tmp/hpcupsfilterc_%d.bmp.XXXXXX, /tmp/hpcupsfilterk_%d.bmp.XXXXXX, /tmp/hpcups_job%d.out.XXXXXX, /tmp/hpijs_%d.out.XXXXXX, and I'm not sure what the last one is. The %d's are also numbers BTW.
They seem to have been deleted before I could find them.
(In reply to Bill Wilkinson from comment #3)
> Per Luigi12: new filenames in /tmp should be:
> the filenames from the patched code are /tmp/hpcupsfilterc_%d.bmp.XXXXXX,
> /tmp/hpcupsfilterk_%d.bmp.XXXXXX, /tmp/hpcups_job%d.out.XXXXXX,
> /tmp/hpijs_%d.out.XXXXXX, and I'm not sure what the last one is. The %d's
> are also numbers BTW.
To be clear, I said also at the end because I'd previously pointed out that the XXXXXX should be a random number as well.
Testing on Mageia 2 64-bits with a DCP J140W. I printed test page without any problem.
Thanks guys, well done
Advisory & srpm in comment 0
Could sysadmin please push from core/updates_testing to core/updates