Joined: 12 May 2004
|Posted: Wed Apr 09, 2008 10:26 am Post subject: [ GLSA 200804-07 ] PECL APC: Buffer Overflow
|Gentoo Linux Security Advisory
Title: PECL APC: Buffer Overflow (GLSA 200804-07)
Date: April 09, 2008
A buffer overflow vulnerability in PECL APC might allow for the remote execution of arbitrary code.
PECL Alternative PHP Cache (PECL APC) is a free, open, and robust framework for caching and optimizing PHP intermediate code.
Vulnerable: < 3.0.16-r1
Unaffected: >= 3.0.16-r1
Architectures: All supported architectures
Daniel Papasian discovered a stack-based buffer overflow in the apc_search_paths() function in the file apc.c when processing long filenames.
A remote attacker could exploit this vulnerability to execute arbitrary code in PHP applications that pass user-controlled input to the include() function.
There is no known workaround at this time.
All PECL APC users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php5/pecl-apc-3.0.16-r1"