CVE-2009-1381 Command injection in n/a
Remote attackers can execute arbitrary commands via shell metacharacters in a username string processed by the ypmatch program in SquirrelMail.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-1381?
CVE-2009-1381 is a medium-severity command injection vulnerability in Squirrelmail Squirrelmail, published on 22 May 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The map_yp_alias function in functions/imap_general.php in SquirrelMail before 1.4.19-1 on Debian GNU/Linux, and possibly other operating systems and versions, allows remote attackers to execute arbitrary commands via shell metacharacters in a username string that is used by the ypmatch program. NOTE: this issue exists because of an incomplete fix for CVE-2009-1579.
Which versions are affected by CVE-2009-1381?
It affects 2 products.
Products include Squirrelmail Imap General.php, Squirrelmail Squirrelmail.
How do I fix CVE-2009-1381?
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-1381 being exploited?
There is no known exploitation of CVE-2009-1381 in the wild and no public exploit code.
Sources
Also known as DSA-1802-2, GHSA-qmxf-cchc-q3mc.