For those following along with the PEAR/Yawp series, a serious security hole was found in Yawp 1.0.6, and all users are strongly recommended to upgrade.
pear upgrade http://phpyawp.com/Yawp-1.1.0.tgz
Changelog:
- BACKWARDS COMPATIBILITY BREAK: Removed the
$GLOBALS['_Yawp']['conf_path'] variable, as it can be the source of
serious security problems when register_globals is turned on in
combination with other circumstances. In its place, use
define('YAWP_CONF_PATH', '/path/to/Yawp.conf.php') to set up a custom
configuration file location. Thanks to Stefan Esser of hardened-php.net
for discovering this simple but potentially serious flaw.
- Added htmlspecialchars() to the trigger_error() messages generated when the configuration file cannot be read or found.