Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Courier Authentication Library: SQL injection vulnerability
Informations
Name GLSA-200809-05 First vendor Publication 2008-09-05
Vendor Gentoo Last vendor Modification 2008-09-05
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Cvss Base Score 5.1 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity High
Cvss Expoit Score 4.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

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

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:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-libs/courier-authlib-0.60.6"

References

[ 1 ] CVE-2008-2667 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2667

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200809-05.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200809-05.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-89 Improper Sanitization of Special Elements used in an SQL Command ('SQL Injection') (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:18407
 
Oval ID: oval:org.mitre.oval:def:18407
Title: DSA-1688-1 courier-authlib - SQL injection
Description: Two SQL injection vulnerabilities have been found in courier-authlib, the courier authentification library. The MySQL database interface used insufficient escaping mechanisms when constructing SQL statements, leading to SQL injection vulnerabilities if certain charsets are used (<a href="http://security-tracker.debian.org/tracker/CVE-2008-2380">CVE-2008-2380</a>). A similar issue affects the PostgreSQL database interface (<a href="http://security-tracker.debian.org/tracker/CVE-2008-2667">CVE-2008-2667</a>).
Family: unix Class: patch
Reference(s): DSA-1688-1
CVE-2008-2380
CVE-2008-2667
Version: 7
Platform(s): Debian GNU/Linux 4.0
Product(s): courier-authlib
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:8347
 
Oval ID: oval:org.mitre.oval:def:8347
Title: DSA-1688 courier-authlib -- SQL injection
Description: Two SQL injection vulnerabilities have been found in courier-authlib, the courier authentification library. The MySQL database interface used insufficient escaping mechanisms when constructing SQL statements, leading to SQL injection vulnerabilities if certain charsets are used (CVE-2008-2380). A similar issue affects the PostgreSQL database interface (CVE-2008-2667).
Family: unix Class: patch
Reference(s): DSA-1688
CVE-2008-2380
CVE-2008-2667
Version: 3
Platform(s): Debian GNU/Linux 4.0
Product(s): courier-authlib
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 17

OpenVAS Exploits

Date Description
2008-12-29 Name : Debian Security Advisory DSA 1688-2 (courier-authlib)
File : nvt/deb_1688_2.nasl
2008-12-23 Name : Debian Security Advisory DSA 1688-1 (courier-authlib)
File : nvt/deb_1688_1.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200809-05 (courier-authlib)
File : nvt/glsa_200809_05.nasl
2008-09-04 Name : FreeBSD Ports: courier-authlib
File : nvt/freebsd_courier-authlib.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
47516 openSUSE courier-authlib Unspecified SQL Injection

Nessus® Vulnerability Scanner

Date Description
2009-07-21 Name : The remote openSUSE host is missing a security update.
File : suse_11_0_courier-authlib-080616.nasl - Type : ACT_GATHER_INFO
2008-12-21 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1688.nasl - Type : ACT_GATHER_INFO
2008-09-08 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200809-05.nasl - Type : ACT_GATHER_INFO
2008-06-19 Name : The remote openSUSE host is missing a security update.
File : suse_courier-authlib-5352.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:36:03
  • Multiple Updates