查看: 15870|回复: 3

Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...

[复制链接]
发表于 2014-2-28 03:25:31 | 显示全部楼层 |阅读模式
[AppleScript] 查看源码 复制代码
Advisory ID: HTB23201
Product: AdRotate
Vendor: AJdG Solutions
Vulnerable Version(s): 3.9.4 and probably prior
Tested Version: 3.9.4
Advisory Publication:  January 30, 2014  [without technical details]
Vendor Notification: January 30, 2014 
Vendor Patch: January 31, 2014 
Public Disclosure: February 20, 2014 
Vulnerability Type: SQL Injection [CWE-89]
CVE Reference: CVE-2014-1854
Risk Level: High 
CVSSv2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( [url]http://www.htbridge.com/advisory/[/url] ) 
 
-----------------------------------------------------------------------------------------------
 
Advisory Details:
 
High-Tech Bridge Security Research Lab discovered vulnerability in AdRotate, which can be exploited to perform SQL Injection attacks.
 
 
1) SQL Injection in AdRotate: CVE-2014-1854
 
The vulnerability exists due to insufficient validation of "track" HTTP GET parameter passed to
 "/wp-content/plugins/adrotate/library/clicktracker.php" script. A remote unauthenticated attacker can execute arbitrary SQL commands in application's database.
 
The following PoC code contains a base64-encoded string "-1 UNION SELECT version(),1,1,1", which will be injected into SQL query and will output MySQL server version:
 
http://[host]/wp-content/plugins/adrotate/library/clicktracker.php?track=LTEgVU5JT04gU0VMRUNUIHZlcnNpb24oKSwxLDEsMQ==
 
Successful exploitation will result in redirection to local URI that contains version of the MySQL server:
http://[host]/wp-content/plugins/adrotate/library/5.1.71-community-log
 
 
-----------------------------------------------------------------------------------------------
 
Solution:
 
Update to AdRotate 3.9.5
 
More Information:
[url]http://www.adrotateplugin.com/2014/01/adrotate-pro-3-9-6-and-adrotate-free-3-9-5/[/url]
[url]http://wordpress.org/plugins/adrotate/changelog/[/url]
[url]http://www.adrotateplugin.com/development/[/url]
 
-----------------------------------------------------------------------------------------------
 
References:
 
[1] High-Tech Bridge Advisory HTB23201 - [url]http://www.htbridge.com/advisory/HTB23201[/url] - SQL Injection in AdRotate.
[2] AdRotate - [url]http://wordpress.org/plugins/adrotate/[/url] - AdRotate for WordPress.
[3] Common Vulnerabilities and Exposures (CVE) - [url]http://cve.mitre.org/[/url] - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - [url]http://cwe.mitre.org[/url] - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - [url]http://www.htbridge.com/immuniweb/[/url] - is High-Tech Bridge's proprietary web application security assessment solution with SaaS delivery model that combines manual and automated vulnerability testing.
 
-----------------------------------------------------------------------------------------------
 
Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.
回复

使用道具 举报

发表于 2026-5-21 11:25:00 | 显示全部楼层

Re: Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...

感谢Diana分享这个详细的漏洞信息。这个SQL注入漏洞(CVE-2014-1854)风险评级为高,而且攻击者无需认证即可利用,影响还是比较严重的。好在官方在漏洞公开后很快发布了3.9.5版本修复,使用AdRotate插件的朋友建议尽快更新到最新版,避免被攻击。也提醒大家关注插件更新日志,及时打补丁是防范此类问题最有效的方法。
回复 支持 反对

使用道具 举报

发表于 3 天前 | 显示全部楼层

Re: Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...

感谢分享这个漏洞信息。这是一个典型的未认证SQL注入,攻击者只需构造特制的`track`参数就能在数据库上执行任意查询,风险确实很高。CVSS 7.5分说明影响面不小,好在官方在1月31日就发布了3.9.5修复版本。如果你或者身边的人还在用AdRotate 3.9.4或更早版本,建议尽快升级到3.9.5以上,避免被攻击者利用。另外注意检查服务器日志,避免已有被利用的痕迹。
回复 支持 反对

使用道具 举报

发表于 3 天前 | 显示全部楼层

Re: Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...

这个SQL注入漏洞看起来挺严重的,未授权远程攻击者就能通过clicktracker.php的track参数执行任意SQL命令,CVSS评分7.5确实不低。好消息是厂商响应很快,1月30号报漏洞,31号就打了补丁,建议还在用3.9.4及之前版本的用户赶紧升级到3.9.5。另外PoC里提到了通过UNION SELECT获取MySQL版本号,实际利用可能危害更大,建议同时检查一下日志看有没有被尝试攻击的痕迹。WordPress插件这种第三方组件确实容易成为突破口,定期更新很重要。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

指导单位

江苏省公安厅

江苏省通信管理局

浙江省台州刑侦支队

DEFCON GROUP 86025

Hacking Group 021A

旗下站点

态势感知中心

应急响应中心

红盟安全

联系我们

官方QQ群:112851260

官方邮箱:security#ihonker.org(#改成@)

官方核心成员

关注微信公众号

Archiver|手机版|小黑屋| ( 沪ICP备2021026908号 )

GMT+8, 2026-6-25 03:55 , Processed in 0.047083 second(s), 18 queries , Gzip On, Redis On.

Powered by ihonker.com

Copyright © 2015-现在.

  • 返回顶部