Lucene search

K
gentooGentoo FoundationGLSA-200708-08
HistoryAug 11, 2007 - 12:00 a.m.

SquirrelMail G/PGP plugin: Arbitrary code execution

2007-08-1100:00:00
Gentoo Foundation
security.gentoo.org
12

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.115 Low

EPSS

Percentile

95.2%

Background

SquirrelMail is a webmail package written in PHP. It supports IMAP and SMTP protocols.

Description

The functions deletekey(), gpg_check_sign_pgp_mime() and gpg_recv_key() used in the SquirrelMail G/PGP encryption plugin do not properly escape user-supplied data.

Impact

An authenticated user could use the plugin to execute arbitrary code on the server, or a remote attacker could send a specially crafted e-mail to a SquirrelMail user, possibly leading to the execution of arbitrary code with the privileges of the user running the underlying web server. Note that the G/PGP plugin is disabled by default.

Workaround

Enter the SquirrelMail configuration directory (/usr/share/webapps/squirrelmail/version/htdocs/config), then execute the conf.pl script. Select the plugins menu, then select the gpg plugin item number in the β€œInstalled Plugins” list to disable it. Press S to save your changes, then Q to quit.

Resolution

All SquirrelMail users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=mail-client/squirrelmail-1.4.10a-r2"
OSVersionArchitecturePackageVersionFilename
Gentooanyallmail-client/squirrelmail<Β 1.4.10a-r2UNKNOWN

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.115 Low

EPSS

Percentile

95.2%