Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Perl DBD-Pg Module: Arbitrary code execution
Informations
Name GLSA-201204-08 First vendor Publication 2012-04-17
Vendor Gentoo Last vendor Modification 2012-04-17
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:L/Au:N/C:N/I:N/A:P)
Cvss Base Score 5 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Two format string vulnerabilities have been found in the Perl DBD-Pg module, allowing a remote PostgreSQL servers to execute arbitrary code.

Background

DBD-Pg is a PostgreSQL interface module for Perl.

Description

Format string vulnerabilities have been found in the the "pg_warn()"
and "dbd_st_prepare()" functions in dbdimp.c.

Impact

A remote PostgreSQL server could send specially crafted database warnings or DBD statements, possibly resulting in execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All users of the Perl DBD-Pg module should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-perl/DBD-Pg-2.19.0"

References

[ 1 ] CVE-2012-1151 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1151

Availability

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

http://security.gentoo.org/glsa/glsa-201204-08.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201204-08.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-134 Uncontrolled Format String (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:15390
 
Oval ID: oval:org.mitre.oval:def:15390
Title: DSA-2431-1 libdbd-pg-perl -- format string vulnerabilities
Description: Niko Tyni discovered two format string vulnerabilities in DBD::Pg, a Perl DBI driver for the PostgreSQL database server, which can be exploited by a rogue database server.
Family: unix Class: patch
Reference(s): DSA-2431-1
CVE-2012-1151
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): libdbd-pg-perl
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21318
 
Oval ID: oval:org.mitre.oval:def:21318
Title: RHSA-2012:1116: perl-DBD-Pg security update (Moderate)
Description: Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.
Family: unix Class: patch
Reference(s): RHSA-2012:1116-01
CESA-2012:1116
CVE-2012-1151
Version: 4
Platform(s): Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 5
CentOS Linux 5
CentOS Linux 6
Product(s): perl-DBD-Pg
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23007
 
Oval ID: oval:org.mitre.oval:def:23007
Title: DEPRECATED: ELSA-2012:1116: perl-DBD-Pg security update (Moderate)
Description: Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.
Family: unix Class: patch
Reference(s): ELSA-2012:1116-01
CVE-2012-1151
Version: 7
Platform(s): Oracle Linux 6
Oracle Linux 5
Product(s): perl-DBD-Pg
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23752
 
Oval ID: oval:org.mitre.oval:def:23752
Title: ELSA-2012:1116: perl-DBD-Pg security update (Moderate)
Description: Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.
Family: unix Class: patch
Reference(s): ELSA-2012:1116-01
CVE-2012-1151
Version: 6
Platform(s): Oracle Linux 6
Oracle Linux 5
Product(s): perl-DBD-Pg
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:27876
 
Oval ID: oval:org.mitre.oval:def:27876
Title: DEPRECATED: ELSA-2012-1116 -- perl-DBD-Pg security update (moderate)
Description: [2.15.1-4] - Resolves: rhbz#841131 (CVE-2012-1151)
Family: unix Class: patch
Reference(s): ELSA-2012-1116
CVE-2012-1151
Version: 4
Platform(s): Oracle Linux 5
Oracle Linux 6
Product(s): perl-DBD-Pg
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 125

OpenVAS Exploits

Date Description
2012-08-30 Name : Fedora Update for perl-DBD-Pg FEDORA-2012-10892
File : nvt/gb_fedora_2012_10892_perl-DBD-Pg_fc17.nasl
2012-08-03 Name : Fedora Update for perl-DBD-Pg FEDORA-2012-10871
File : nvt/gb_fedora_2012_10871_perl-DBD-Pg_fc16.nasl
2012-07-30 Name : CentOS Update for perl-DBD-Pg CESA-2012:1116 centos5
File : nvt/gb_CESA-2012_1116_perl-DBD-Pg_centos5.nasl
2012-07-30 Name : CentOS Update for perl-DBD-Pg CESA-2012:1116 centos6
File : nvt/gb_CESA-2012_1116_perl-DBD-Pg_centos6.nasl
2012-07-30 Name : Mandriva Update for perl-DBD-Pg MDVSA-2012:112 (perl-DBD-Pg)
File : nvt/gb_mandriva_MDVSA_2012_112.nasl
2012-07-26 Name : RedHat Update for perl-DBD-Pg RHSA-2012:1116-01
File : nvt/gb_RHSA-2012_1116-01_perl-DBD-Pg.nasl
2012-04-30 Name : Debian Security Advisory DSA 2431-1 (libdbd-pg-perl)
File : nvt/deb_2431_1.nasl
2012-04-30 Name : Gentoo Security Advisory GLSA 201204-08 (DBD-Pg)
File : nvt/glsa_201204_08.nasl

Nessus® Vulnerability Scanner

Date Description
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2012-180.nasl - Type : ACT_GATHER_INFO
2013-09-04 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2012-112.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Oracle Linux host is missing a security update.
File : oraclelinux_ELSA-2012-1116.nasl - Type : ACT_GATHER_INFO
2012-09-06 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2012-112.nasl - Type : ACT_GATHER_INFO
2012-08-02 Name : The remote Fedora host is missing a security update.
File : fedora_2012-10871.nasl - Type : ACT_GATHER_INFO
2012-08-02 Name : The remote Fedora host is missing a security update.
File : fedora_2012-10892.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20120725_perl_DBD_Pg_on_SL5_x.nasl - Type : ACT_GATHER_INFO
2012-07-26 Name : The remote CentOS host is missing a security update.
File : centos_RHSA-2012-1116.nasl - Type : ACT_GATHER_INFO
2012-07-26 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2012-1116.nasl - Type : ACT_GATHER_INFO
2012-06-21 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201204-08.nasl - Type : ACT_GATHER_INFO
2012-03-12 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2431.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:37:19
  • Multiple Updates