Advisory Published
Updated

REDHAT-BUG-725830

First published: Tue Jul 26 2011(Updated: )

A temporary file handling flaw was reported [1] in prnt/hpijs/hpcupsfax.cpp, the hplip HP CUPS filter. Because a predicatable temporary filename is used (/tmp/hpcupsfax.out), an attacker could use a symlink attack to overwrite an arbitrary file with the privileges of the process running the HP CUPS fax filter. 422 FILE *fp; 423 fp = NULL; 424 if (iLogLevel &amp; SAVE_PCL_FILE) 425 { 426 fp = fopen ("/tmp/hpcupsfax.out", "w"); 427 system ("chmod 666 /tmp/hpcupsfax.out"); 428 } 429 while ((i = read (fdFax, pTmp, iSize)) &gt; 0) 430 { 431 write (STDOUT_FILENO, pTmp, i); 432 if (iLogLevel &amp; SAVE_PCL_FILE &amp;&amp; fp) 433 { 434 fwrite (pTmp, 1, i, fp); 435 } 436 } 437 free (pTmp); This flaw only exists in hplip 3.x and is not present in earlier versions of hplip. [1] <a href="https://bugzilla.novell.com/show_bug.cgi?id=704608">https://bugzilla.novell.com/show_bug.cgi?id=704608</a> Statement: This issue did not affect the versions of hplip as shipped with Red Hat Enterprise Linux 5. A future update in Red Hat Enterprise Linux 5 (for hplip3) and 6 may address this flaw.

Affected SoftwareAffected VersionHow to fix
HPLIP (HP Linux Imaging and Printing)>=3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-725830?

    The severity of REDHAT-BUG-725830 is considered to be high due to the potential for arbitrary file overwrites.

  • How do I fix REDHAT-BUG-725830?

    To fix REDHAT-BUG-725830, update the HPLIP software to version 3.0 or higher, or apply the relevant security patch provided by HP.

  • What is the nature of the vulnerability in REDHAT-BUG-725830?

    REDHAT-BUG-725830 is a temporary file handling flaw that allows for symlink attacks leading to arbitrary file overwrites.

  • Which software is affected by REDHAT-BUG-725830?

    REDHAT-BUG-725830 affects the HP hplip software starting from version 3.0.

  • What kind of attacks can be executed due to REDHAT-BUG-725830?

    Due to REDHAT-BUG-725830, attackers can execute symlink attacks to overwrite files with the privileges of the HP CUPS process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203