Bug 500360 - (CVE-2009-1579) CVE-2009-1579 SquirrelMail: Server-side code injection in map_yp_alias username map
CVE-2009-1579 SquirrelMail: Server-side code injection in map_yp_alias userna...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
http://www.squirrelmail.org/security/...
reported=20090512,public=20090510,sou...
: Security
Depends On: 500790 500791 500792 500793 500794 833981
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-12 08:43 EDT by Jan Lieskovsky
Modified: 2012-06-20 10:38 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-05-26 13:48:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2009-05-12 08:43:04 EDT
From SquirrelMail vulnerability report:

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

Credits: Niels Teusink

Updated upstream patch (2009-05-21):
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php?r1=13549&r2=13733&view=patch
Comment 1 Fedora Update System 2009-05-12 09:07:22 EDT
squirrelmail-1.4.18-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/squirrelmail-1.4.18-1.fc9
Comment 2 Fedora Update System 2009-05-12 20:20:50 EDT
squirrelmail-1.4.18-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2009-05-12 20:22:25 EDT
squirrelmail-1.4.18-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2009-05-12 20:23:41 EDT
squirrelmail-1.4.18-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Jan Lieskovsky 2009-05-14 14:05:59 EDT
CVE-2009-1579:

The map_yp_alias function in functions/imap_general.php in
SquirrelMail before 1.4.18 allows remote attackers to execute
arbitrary commands via shell metacharacters in a username string that
is used by the ypmatch program.
Comment 8 Jan Lieskovsky 2009-05-21 14:08:48 EDT
CVE-2009-1381 (incomplete upstream fix for CVE-2009-1579) now public:

http://www.squirrelmail.org/security/issue/2009-05-10
Comment 9 errata-xmlrpc 2009-05-26 13:31:17 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3
  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2009:1066 https://rhn.redhat.com/errata/RHSA-2009-1066.html

Note You need to log in before you can comment on or make changes to this bug.