CVE-2009-1579: Code Injection

Published May 10, 2009
·
Updated

From SquirrelMail vulnerability report:

An issue was fixed that allowed arbitrary server-side code execution when SquirrelMail was configured to use the example "mapypalias" username mapping functionality.

Credits: Niels Teusink

Updated upstream patch (2009-05-21): http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-14-STABLE/squirrelmail/functions/imapgeneral.php?r1=13549&r2=13733&view=patch

Other sources

The mapypalias function in functions/imapgeneral.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.

Red Hat

Affected Software

63 affected componentsFixes available
redhat/squirrelmail<0:1.4.8-13.el3
0:1.4.8-13.el3
redhat/squirrelmail<0:1.4.8-5.el4_8.5
0:1.4.8-5.el4_8.5
redhat/squirrelmail<0:1.4.8-5.el5_3.7
0:1.4.8-5.el5_3.7
Squirrelmail Squirrelmail=1.3.1
Squirrelmail Squirrelmail=0.4
Squirrelmail Squirrelmail=1.0.6
Squirrelmail Squirrelmail=1.0.5
Squirrelmail Squirrelmail=0.3
Squirrelmail Squirrelmail=0.4pre2
Squirrelmail Squirrelmail=1.1.0
Squirrelmail Squirrelmail=1.0pre2
Squirrelmail Squirrelmail=0.3.1
Squirrelmail Squirrelmail=0.1.2
Squirrelmail Squirrelmail=1.2.7
Squirrelmail Squirrelmail=1.0.1
Squirrelmail Squirrelmail=0.2.1
Squirrelmail Squirrelmail=1.4.12
Squirrelmail Squirrelmail=1.2.0
Squirrelmail Squirrelmail=1.2.9
Squirrelmail Squirrelmail=0.1
Squirrelmail Squirrelmail=1.4.15
Squirrelmail Squirrelmail=1.2.2
Squirrelmail Squirrelmail=0.5pre2
Squirrelmail Squirrelmail=1.1.1
Squirrelmail Squirrelmail=1.4.16
Squirrelmail Squirrelmail=1.2.0_rc3
Squirrelmail Squirrelmail=1.1.2
Squirrelmail Squirrelmail=1.4.15_rc1
Squirrelmail Squirrelmail
Squirrelmail Squirrelmail=0.3pre2
Squirrelmail Squirrelmail=0.1.1
Squirrelmail Squirrelmail=1.3.2
Squirrelmail Squirrelmail=1.2.1
Squirrelmail Squirrelmail=1.4.1
Squirrelmail Squirrelmail=1.2
Squirrelmail Squirrelmail=1.4.0_rc2a
Squirrelmail Squirrelmail=1.4.0_rc1
Squirrelmail Squirrelmail=1.4.0
Squirrelmail Squirrelmail=1.4
Squirrelmail Squirrelmail=1.1.3
Squirrelmail Squirrelmail=1.2.4
Squirrelmail Squirrelmail=0.5pre1
Squirrelmail Squirrelmail=1.2.3
Squirrelmail Squirrelmail=1.4.10
Squirrelmail Squirrelmail=1.0.2
Squirrelmail Squirrelmail=1.0.4
Squirrelmail Squirrelmail=1.0pre1
Squirrelmail Squirrelmail=1.2.6
Squirrelmail Squirrelmail=1.4.10a
Squirrelmail Squirrelmail=0.3pre1
Squirrelmail Squirrelmail=1.2.10
Squirrelmail Squirrelmail=0.4pre1
Squirrelmail Squirrelmail=1.2.5
Squirrelmail Squirrelmail=1.4.11
Squirrelmail Squirrelmail=1.0.3
Squirrelmail Squirrelmail=1.3.0
Squirrelmail Squirrelmail=1.0
Squirrelmail Squirrelmail=0.2
Squirrelmail Squirrelmail=1.2.8
Squirrelmail Squirrelmail=1.2.11
Squirrelmail Squirrelmail=0.5
Squirrelmail Squirrelmail<=1.4.17
Squirrelmail Squirrelmail=1.0pre3

Event History

May 10, 2009
CVE Published
via Red Hat·12:00 AM
May 12, 2009
Data Sourced
via Red Hat·12:43 PM
DescriptionSeverityAffected Software
May 14, 2009
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2009-1579?

CVE-2009-1579 is considered a high severity vulnerability due to the potential for remote command execution.

2

How do I fix CVE-2009-1579?

To fix CVE-2009-1579, upgrade SquirrelMail to version 1.4.18 or later.

3

What systems are affected by CVE-2009-1579?

CVE-2009-1579 affects SquirrelMail versions prior to 1.4.18 and NaSMail versions prior to 1.7.

4

Can CVE-2009-1579 be exploited remotely?

Yes, CVE-2009-1579 can be exploited remotely through crafted username strings containing shell metacharacters.

5

What type of vulnerability is CVE-2009-1579 classified as?

CVE-2009-1579 is classified as a remote code execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203