在register_globals启用的情况下,phpAdsNew 2.0.4-pr1的adframe.php中存在跨站脚本攻击(XSS)漏洞,远程攻击者可以通过refresh参数注入任意Web脚本或HTML。