GLSA-200804-07 : PECL APC: Buffer Overflow

This script is Copyright (C) 2008-2015 Tenable Network Security, Inc.


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.

See also :

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

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'

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.9
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 31838 (gentoo_GLSA-200804-07.nasl)

Bugtraq ID: 28457

CVE ID: CVE-2008-1488