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 Software | Affected Version | How to fix |
---|---|---|
lftp | <=4.0.5 | |
Wget | <=1.12 | |
libwww-perl | <=5.834 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-591580 is classified as critical due to the unsafe behaviors discovered in the affected applications.
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.
The applications affected by REDHAT-BUG-591580 include lftp, GNU wget, and the lwp-download script from libwww-perl.
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.
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.