GLSA-200804-07 : PECL APC: Buffer Overflow

medium Nessus Plugin ID 31838

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200804-07 (PECL APC: Buffer Overflow)

Daniel Papasian discovered a stack-based buffer overflow in the apc_search_paths() function in the file apc.c when processing long filenames.
Impact :

A remote attacker could exploit this vulnerability to execute arbitrary code in PHP applications that pass user-controlled input to the include() function.
Workaround :

There is no known workaround at this time.

Solution

All PECL APC users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-php5/pecl-apc-3.0.16-r1'

See Also

https://security.gentoo.org/glsa/200804-07

Plugin Details

Severity: Medium

ID: 31838

File Name: gentoo_GLSA-200804-07.nasl

Version: 1.16

Type: local

Published: 4/11/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pecl-apc, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/9/2008

Reference Information

CVE: CVE-2008-1488

BID: 28457

CWE: 119

GLSA: 200804-07