Mailutils: SQL Injection
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
|