CVE-2010-2251
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.6% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.6% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Alexander v. Lukyanov Lftp ≤ 4.0.5
- 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
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-2251.md and follow it. Check whether this project is affected by CVE-2010-2251. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://lftp.yar.ru/news.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043597.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://marc.info/?l=oss-security&m=127411372529485&w=2
- http://marc.info/?l=oss-security&m=127432968701342&w=2
- http://marc.info/?l=oss-security&m=127611288927500&w=2
- http://marc.info/?l=oss-security&m=127620248914170&w=2
- http://secunia.com/advisories/40400
- http://wiki.rpath.com/Advisories:rPSA-2010-0073
- http://www.debian.org/security/2010/dsa-2085
- http://www.ocert.org/advisories/ocert-2010-001.html
- http://www.securityfocus.com/archive/1/514499/100/0/threaded
- http://www.vupen.com/english/advisories/2010/1654
- https://bugzilla.redhat.com/show_bug.cgi?id=591580
- https://bugzilla.redhat.com/show_bug.cgi?id=602836
- http://lftp.yar.ru/news.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043597.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://marc.info/?l=oss-security&m=127411372529485&w=2
- http://marc.info/?l=oss-security&m=127432968701342&w=2
- http://marc.info/?l=oss-security&m=127611288927500&w=2
- http://marc.info/?l=oss-security&m=127620248914170&w=2
- http://secunia.com/advisories/40400
- http://wiki.rpath.com/Advisories:rPSA-2010-0073
- http://www.debian.org/security/2010/dsa-2085