hplip arbitrary file creation/overwrite

2014.01.06
Credit: Sebastian
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-59


CVSS Base Score: 2.1/10
Impact Subscore: 2.9/10
Exploitability Subscore: 3.9/10
Exploit range: Local
Attack complexity: Low
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

hplip once again creates logfiles in /tmp, which allows local users to create/overwrite arbitrary files. Thats here in base/pkit.py class BackendService(PolicyKitService): INTERFACE_NAME = 'com.hp.hplip' SERVICE_NAME = 'com.hp.hplip' LOGFILE_NAME = '/tmp/hp-pkservice.log' [...] Best fix would be for hplip to use the standard syslog facility, relying on syslogd, rather than creating logfiles in /tmp.

References:

https://bugzilla.novell.com/show_bug.cgi?id=852368


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top