Skip to content
OpenAdvisories
Unscored CVE-2010-2251 EUVD-2010-2263GHSA-96vc-4h75-gh5j

The get1 command, as used by lftpget, in LFTP before 4.0.6 does not properly validate a server-provided filename before determining the des…

Published Jul 6, 2010 · Updated Aug 7, 2024 · Assigned by mitre

Description

The get1 command, as used by lftpget, in LFTP before 4.0.6 does not properly validate a server-provided filename before determining the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lftp 4.0.6-1 —
Debian 13 lftp 4.0.6-1 —
Debian 12 lftp 4.0.6-1 —
Debian 5.0 lftp 3.7.3-1+lenny1 DSA-2085-1
ReleasePackageFixed inAdvisory
RHEL 5 lftp 3.7.11-4.el5_5.3 RHSA-2010:0585

Advisories 2

References