An SQL injection vulnerability has been discovered in the Courier
Authentication Library.

Affected Packages

Package

net-libs/courier-authlib on all architectures

Affected versions

< 0.60.6

Unaffected versions

>= 0.60.6

Background

The Courier Authentication Library is a generic authentication API that
encapsulates the process of validating account passwords.

Description

It has been discovered that some input (e.g. the username) passed to
the library are not properly sanitised before being used in SQL
queries.

Impact

A remote attacker could provide specially crafted input to the library,
possibly resulting in the remote execution of arbitrary SQL commands.
NOTE: Exploitation of this vulnerability requires that a MySQL database
is used for authentication and that a Non-Latin character set is
selected.

Workaround

There is no known workaround at this time.

Resolution

All Courier Authentication Library users should upgrade to the latest
version: