Advisory Published
Updated

REDHAT-BUG-591580

First published: Wed May 12 2010(Updated: )

The draft advisory from oCERT follows: The lftp, wget and lwp-download applications are ftp/http clients and file transfer tools supporting various network protocols. The lwp-download script is shipped along with the libwww-perl library. Unsafe behaviours have been found in lftp and lwp-download handling the Content-Disposition header in conjunction with the 'suggested filename' functionality. Additionally unsafe behaviours have been found in wget and lwp-download in case of HTTP 3xx redirections during file dowloading. The two applications automatically use the URL's filename portion specified in the Location header. Implicitly trusting the suggested filenames results in a saved file that differs from the expected one according to the URL specified by the user. This can be used by a malicious attacker to silently write hidden and/or initialization files under the user's current directory (e.g. .login, .bashrc). The impact of this vulnerability is increased in the case of lftp/lftpget as the default configuration allows file overwrite without prompting confirmation to the user. In case of lftp the get1 command is affected. This command can be invoked directly by the user from lftp's command line interface or indirectly by using the lftpget script, packaged within lftp distribution. Affected version: lftp <= 4.0.5 wget <= 1.12 libwww-perl <= 5.834 Fixed version: lftp >= 4.0.6 wget N/A libwww-perl >= 5.835 Credit: Vulnerability discovered and reported by Hank Leininger and Solar Designer under the Openwall Project, with further analysis by Daniele Bianco of oCERT.

Affected SoftwareAffected VersionHow to fix
lftp<=4.0.5
Wget<=1.12
libwww-perl<=5.834

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-591580?

    The severity of REDHAT-BUG-591580 is classified as critical due to the unsafe behaviors discovered in the affected applications.

  • How do I fix REDHAT-BUG-591580?

    To fix REDHAT-BUG-591580, users should upgrade lftp to version 4.0.6 or higher, wget to version 1.12.1 or higher, and libwww-perl to version 5.835 or higher.

  • Which applications are affected by REDHAT-BUG-591580?

    The applications affected by REDHAT-BUG-591580 include lftp, GNU wget, and the lwp-download script from libwww-perl.

  • What vulnerable versions are listed in REDHAT-BUG-591580?

    The vulnerable versions listed in REDHAT-BUG-591580 include lftp versions up to 4.0.5, wget versions up to 1.12, and libwww-perl versions up to 5.834.

  • What is the primary issue identified in REDHAT-BUG-591580?

    The primary issue identified in REDHAT-BUG-591580 is the presence of unsafe behaviors in the lftp, wget, and lwp-download applications that could lead to potential security risks.

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