PMA_cleanupPathInfo() failed to properly sanitize PMA_PHP_SELF when PHP_SELF was unavailable, using REQUEST_URI directly and inadequately handling PATH_INFO. This allowed attackers to inject cookie attributes via crafted URIs.
getCookiePath() in Config.php used this tainted PMA_PHP_SELF value to determine cookie paths. The combination of improper sanitization in PMA_cleanupPathInfo and trust in this value in getCookiePath created the injection vector. The patch modified both functions to properly handle PATH_INFO stripping and avoid REQUEST_URI fallback without validation.