GLSA-200506-02 : Mailutils: SQL Injection

high Nessus Plugin ID 18425

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200506-02

Plugin Details

Severity: High

ID: 18425

File Name: gentoo_GLSA-200506-02.nasl

Version: 1.17

Type: local

Published: 6/7/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mailutils, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/6/2005

Vulnerability Publication Date: 5/15/2005

Reference Information

CVE: CVE-2005-1824

GLSA: 200506-02