Executive Summary

Summary
Title PyPAM: Arbitrary code execution
Informations
Name GLSA-201507-09 First vendor Publication 2015-07-09
Vendor Gentoo Last vendor Modification 2015-07-09
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:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A double free vulnerability in PyPAM could result in execution of arbitrary code or Denial of Service.

Background

PyPAM is a PAM binding for Python.

Description

PyPAM does not handle passwords correctly if there is NULL byte in the string.

Impact

A remote attacker could possibly execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PyPAM users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pypam-0.5.0-r3"

References

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

Availability

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

https://security.gentoo.org/glsa/201507-09

Original Source

Url : http://security.gentoo.org/glsa/glsa-201507-09.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-399 Resource Management Errors

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:14779
 
Oval ID: oval:org.mitre.oval:def:14779
Title: DSA-2430-1 python-pam -- double free
Description: Markus Vervier discovered a double free in the Python interface to the PAM library, which could lead to denial of service.
Family: unix Class: patch
Reference(s): DSA-2430-1
CVE-2012-1502
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): python-pam
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:14895
 
Oval ID: oval:org.mitre.oval:def:14895
Title: USN-1395-1 -- PyPAM vulnerability
Description: python-pam: A Python interface to the PAM library PyPAM could be made to crash or possibly run programs if it processed a specially crafted password.
Family: unix Class: patch
Reference(s): USN-1395-1
CVE-2012-1502
Version: 5
Platform(s): Ubuntu 11.04
Ubuntu 11.10
Ubuntu 10.04
Ubuntu 10.10
Product(s): PyPAM
Definition Synopsis:

ExploitDB Exploits

id Description
2012-03-10 PyPAM -- Python bindings for PAM - Double Free Corruption

OpenVAS Exploits

Date Description
2012-04-30 Name : Debian Security Advisory DSA 2430-1 (python-pam)
File : nvt/deb_2430_1.nasl
2012-03-09 Name : Ubuntu Update for python-pam USN-1395-1
File : nvt/gb_ubuntu_USN_1395_1.nasl

Nessus® Vulnerability Scanner

Date Description
2015-07-10 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201507-09.nasl - Type : ACT_GATHER_INFO
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2012-222.nasl - Type : ACT_GATHER_INFO
2013-01-25 Name : The remote SuSE 11 host is missing a security update.
File : suse_11_python-pam-120322.nasl - Type : ACT_GATHER_INFO
2012-05-30 Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_python-pam-8031.nasl - Type : ACT_GATHER_INFO
2012-03-12 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2430.nasl - Type : ACT_GATHER_INFO
2012-03-09 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1395-1.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2015-07-18 13:29:44
  • Multiple Updates
2015-07-09 21:25:29
  • First insertion