Gentoo Logo

Mailutils: SQL Injection

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200506-02 / mailutils
Release Date June 06, 2005
Latest Revision June 06, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-mail/mailutils < 0.6-r1 >= 0.6-r1 All supported architectures

Related bugreports: #94824

Synopsis

GNU Mailutils is vulnerable to SQL command injection attacks.

2.  Impact Information

Background

GNU Mailutils is a collection of mail-related utilities.

Description

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All GNU Mailutils users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/mailutils-0.6-r1"

4.  References



Print

Updated June 06, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL

Support OSL

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

Global Netoptex Inc.

Global Netoptex Inc.

Bytemark

Bytemark

Linux World Expo

Linux World Expo

Copyright 2001-2008 Gentoo Foundation, Inc. Questions, Comments? Contact us.