Gentoo Logo

phpDocumentor: Function call injection

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201111-04 / PhpDocumentor
Release Date November 11, 2011
Latest Revision November 11, 2011: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-php/PEAR-PhpDocumentor < 1.4.3-r1 >= 1.4.3-r1 All supported architectures

Related bugreports: #213318

Synopsis

phpDocumentor bundles Smarty which contains an input sanitation flaw, allowing attackers to call arbitrary PHP functions.

2.  Impact Information

Background

The phpDocumentor package provides automatic documenting of PHP API directly from the source.

Description

phpDocumentor bundles Smarty with the modifier.regex_replace.php plug-in which does not properly sanitize input related to the ASCII NUL character in a search string.

Impact

A remote attacker could call arbitrary PHP functions via templates.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All phpDocumentor users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose
  ">=dev-php/PEAR-PhpDocumentor-1.4.3-r1"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since February 12, 2011. It is likely that your system is already no longer affected by this issue.

4.  References



Print

Page updated November 11, 2011

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.