Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

HPLIP SNMP Processing Buffer Overflow and Insecure Temporary File Creation

-

Release Date:  2011-01-18    Last Update:  2011-10-26    Views:  2,944

Secunia Advisory SA42956

Where:

From local network

Impact:

Manipulation of data, System access

Solution Status:

Partial Fix

Software:

CVE Reference(s):

Description


A vulnerability and a weakness has been reported in HPLIP, which can be exploited by malicious, local users to manipulate certain data and by malicious people to compromise a vulnerable system.

1) A boundary error in the "hpmud_get_pml()" function (io/hpmud/pml.c) when using certain tools to discover devices using SNMP can be exploited to cause a stack-based buffer overflow by returning a specially crafted SNMP response.

Successful exploitation of this vulnerability may allow execution of arbitrary code.

2) A weakness in the HP CUPS fax filter (prnt/hpijs/hpcupsfax.cpp) due to the "send_data_to_stdout()" function creating temporary files insecurely can be exploited via symlink attacks (/tmp/hpcupsfax.out) to overwrite arbitrary files with the privileges of the user running the filter.

The vulnerability and the weakness are reported in versions 3.10.9 and 3.11.7. Other versions may also be affected.


Solution:
Update to version 3.11.10 which fixes weakness #2. Do not use SNMP-based command line tools.

Provided and/or discovered by:
1) Sebastian Krahmer, SuSE Security Team.
2) Matthias Weckbecker.

Original Advisory:
Novell Bug Reports:
https://bugzilla.novell.com/show_bug.cgi?id=336658
https://bugzilla.novell.com/show_bug.cgi?id=704608

HPLIP:
https://bugs.launchpad.net/hplip/+bug/809904
http://hplipopensource.com/hplip-web/release_notes.html

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: HPLIP SNMP Processing Buffer Overflow and Insecure Temporary File Creation

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability