GLSA-200804-07 : PECL APC: Buffer Overflow
Medium Nessus Plugin ID 31838
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe 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.
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.
SolutionAll PECL APC users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-php5/pecl-apc-3.0.16-r1'