发布时间 :2005-03-14 00:00:00
修订时间 :2017-07-10 21:32:24

[原文]Cross-site scripting (XSS) vulnerability in adframe.php in phpAdsNew 2.0.4-pr1, when register_globals is enabled, allows remote attackers to inject arbitrary web script or HTML via the refresh parameter.

[CNNVD]PHPAdsNew 'AdFrame.PHP'跨站脚本漏洞(CNNVD-200503-098)

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

- CVSS (基础分值)

CVSS分值: 4.3 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20050314 [SECURITYREASON.COM] phpAdsNew 2.0.4-pr1 Multiple vulnerabilities cXIb8O3.9
(UNKNOWN)  XF  phpadsnew-phpini-xss(19692)

- 漏洞信息

PHPAdsNew 'AdFrame.PHP'跨站脚本漏洞
中危 跨站脚本
2005-03-14 00:00:00 2005-10-20 00:00:00
        在register_globals启用的情况下,phpAdsNew 2.0.4-pr1的adframe.php中存在跨站脚本攻击(XSS)漏洞,远程攻击者可以通过refresh参数注入任意Web脚本或HTML。

- 公告与补丁

        厂商已发布phpAdsNew 2.0.4-pr2来解决此问题。
        phpAdsNew phpAdsNew 2.0.4 -pr1
        phpAdsNew phpAdsNew-2.0.4-pr2.tar.gz

- 漏洞信息

phpPgAds / phpAdsNew adframe.php refresh Parameter XSS
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

phpPgAds and phpAdsNew contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the refresh variable upon submission to the 'adframe.php' script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

- 时间线

2005-03-14 Unknow
2005-03-14 Unknow

- 解决方案

Upgrade phpPgAds or phpAdsNew to version 2.0.4-pr2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

PHPAdsNew AdFrame.PHP Cross-Site Scripting Vulnerability
Input Validation Error 12803
Yes No
2005-03-14 12:00:00 2009-07-12 10:56:00
Discovery of this vulnerability is credited to Maksymilian Arciemowicz <>.

- 受影响的程序版本

phpAdsNew phpAdsNew 2.0.4 -pr1
phpAdsNew phpAdsNew 2.0.4 -pr2

- 不受影响的程序版本

phpAdsNew phpAdsNew 2.0.4 -pr2

- 漏洞讨论

phpAdsNew is reportedly affected by a remote cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.

- 漏洞利用

No exploit is required.

The following proof of concept is available:[phpAdsNew]/adframe.php?'&gt;[XSS code]

- 解决方案

The vendor has released phpAdsNew 2.0.4-pr2 to address this issue.

phpAdsNew phpAdsNew 2.0.4 -pr1

- 相关参考