CVE-2010-2251

lftp < 4.0.6 - Arbitrary File Write via Content-Disposition Header

Title source: llm
STIX 2.1

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.

References (15)

Core 15
Core References
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=602836
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1654
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=oss-security&m=127611288927500&w=2
Various Sources x_refsource_misc
http://www.ocert.org/advisories/ocert-2010-001.html
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=591580
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/40400
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/514499/100/0/threaded
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=oss-security&m=127432968701342&w=2
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=oss-security&m=127411372529485&w=2
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/Advisories:rPSA-2010-0073
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043597.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2010/dsa-2085
Various Sources x_refsource_confirm
http://lftp.yar.ru/news.html
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=oss-security&m=127620248914170&w=2

Scores

EPSS 0.0363
EPSS Percentile 88.2%

Details

CWE
CWE-20
Status published
Products (50)
alexander_v._lukyanov/lftp 2.0.0
alexander_v._lukyanov/lftp 2.0.1
alexander_v._lukyanov/lftp 2.0.2
alexander_v._lukyanov/lftp 2.0.3
alexander_v._lukyanov/lftp 2.0.4
alexander_v._lukyanov/lftp 2.0.5
alexander_v._lukyanov/lftp 2.1.0
alexander_v._lukyanov/lftp 2.1.1
alexander_v._lukyanov/lftp 2.1.2
alexander_v._lukyanov/lftp 2.1.3
... and 40 more
Published Jul 06, 2010
Tracked Since Feb 18, 2026