CVE-2009-1669 Command injection in n/a

Critical 10.0 Published Updated

Attackers can execute arbitrary commands via shell metacharacters in the math function equation attribute of the Smarty template engine.

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

What is CVE-2009-1669?

CVE-2009-1669 is a critical command injection vulnerability in n/a, published on 18 May 2009. It can be exploited over the network.

Official description

The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. NOTE: some of these details are obtained from third party information.

Weakness: CWE-20

Which versions are affected by CVE-2009-1669?

It affects 1 product.

Products include Smarty Smarty.

How do I fix CVE-2009-1669?

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-2009-1669 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-1669 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-9qvp-f6pr-8g42.

Is CVE-2009-1669 in your software?

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

Check your SBOMs for free