GLSA-200506-02 : Mailutils: SQL Injection

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200506-02
(Mailutils: SQL Injection)

When GNU Mailutils is built with the 'mysql' or 'postgres' USE
flag, the sql_escape_string function of the authentication module fails
to properly escape the '\\' character, rendering it vulnerable to a SQL
command injection.

Impact :

A malicious remote user could exploit this vulnerability to inject
SQL commands to the underlying database.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200506-02.xml

Solution :

All GNU Mailutils users should upgrade to the latest available
version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-mail/mailutils-0.6-r1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 18425 (gentoo_GLSA-200506-02.nasl)

Bugtraq ID:

CVE ID: CVE-2005-1824