CVE-2007-2348 Command injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary shell commands via malicious scripts in lftp, requiring user assistance to run the script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-2348?

CVE-2007-2348 is a medium-severity command injection vulnerability in n/a, published on 27 Apr 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

mirror --script in lftp before 3.5.9 does not properly quote shell metacharacters, which might allow remote user-assisted attackers to execute shell commands via a malicious script. NOTE: it is not clear whether this issue crosses security boundaries, since the script already supports commands such as "get" which could overwrite executable files.

Which versions are affected by CVE-2007-2348?

It affects 1 product.

Linux distribution packages (4)
lftp Red Hat:enterprise_linux:5::clientAll versions0:3.7.11-4.el5
lftp-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:3.7.11-4.el5
lftp Red Hat:enterprise_linux:5::serverAll versions0:3.7.11-4.el5
lftp-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:3.7.11-4.el5

Products include Alexander v. Lukyanov Lftp.

How do I fix CVE-2007-2348?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2007-2348 being exploited?

There is no known exploitation of CVE-2007-2348 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-2348, GHSA-m4hr-2hrx-m38c, RHSA-2009:1278.

Is CVE-2007-2348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free