CVE-2006-5872 Command injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary Perl code via the script parameter in SQL-Ledger and LedgerSMB login scripts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-5872?

CVE-2006-5872 is a high-severity command injection vulnerability in n/a, published on 18 Dec 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

login.pl in SQL-Ledger before 2.6.21 and LedgerSMB before 1.1.5 allows remote attackers to execute arbitrary Perl code via the "-e" flag in the script parameter, which is used as an argument to the perl program.

Weakness: CWE-20

Which versions are affected by CVE-2006-5872?

It affects 1 product.

Products include Dws Systems Inc. Sql-Ledger.

How do I fix CVE-2006-5872?

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-2006-5872 being exploited?

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

Sources

Also known as DEBIAN-CVE-2006-5872, GHSA-3jwc-qjwv-p4wg.

Is CVE-2006-5872 in your software?

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

Check your SBOMs for free