CVE-2009-1579
The map_yp_alias function in functions/imap_general.php in SquirrelMail before 1.4.18 and NaSMail before 1.7 allows remote attackers to…
Check your servers for CVE-2009-1579
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-1579 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The map_yp_alias function in functions/imap_general.php in SquirrelMail before 1.4.18 and NaSMail before 1.7 allows remote attackers to execute arbitrary commands via shell metacharacters in a username string that is used by the ypmatch program.
Exploitation
EPSS 3.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.6% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-1579 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-1579RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-1579Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-1579
trivy image --scanners vuln IMAGE | grep CVE-2009-1579
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- APPLE-SA-2010-06-15-1 lists.apple.com · vendor advisory
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php?r1=13674&r2=13673&pathrev=13674 squirrelmail.svn.sourceforge.net
- https://gna.org/forum/forum.php?forum_id=2146 gna.org
- MDVSA-2009:110 mandriva.com · vendor advisory
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog squirrelmail.svn.sourceforge.net
- FEDORA-2009-4870 redhat.com · vendor advisory
- 35140 secunia.com · third party advisory
- http://download.gna.org/nasmail/nasmail-1.7.zip download.gna.org
- FEDORA-2009-4880 redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=500360 bugzilla.redhat.com
- http://support.apple.com/kb/HT4188 support.apple.com
- 40220 secunia.com · third party advisory
9 more
- 35259 secunia.com · third party advisory
- 35052 secunia.com · third party advisory
- FEDORA-2009-4875 redhat.com · vendor advisory
- RHSA-2009:1066 redhat.com · vendor advisory
- 37415 secunia.com · third party advisory
- 35073 secunia.com · third party advisory
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13674 squirrelmail.svn.sourceforge.net
- http://www.squirrelmail.org/security/issue/2009-05-10 squirrelmail.org
- DSA-1802 debian.org · vendor advisory
Other references
- oval:org.mitre.oval:def:10986 oval.cisecurity.org · vdb entry, signature
- 34916 securityfocus.com · vdb entry
- ADV-2010-1481 vupen.com · vdb entry
- ADV-2009-1296 vupen.com · vdb entry
- squirrelmail-mapypalias-code-execution(50461) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2009-3315 vupen.com · vdb entry
Source: the record CVE-2009-1579 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse