Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...
Advisory ID: HTB23201Product: AdRotate
Vendor: AJdG Solutions
Vulnerable Version(s): 3.9.4 and probably prior
Tested Version: 3.9.4
Advisory Publication:January 30, 2014
Vendor Notification: January 30, 2014
Vendor Patch: January 31, 2014
Public Disclosure: February 20, 2014
Vulnerability Type: SQL Injection
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 ( http://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
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:///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:///wp-content/plugins/adrotate/library/5.1.71-community-log
-----------------------------------------------------------------------------------------------
Solution:
Update to AdRotate 3.9.5
More Information:
http://www.adrotateplugin.com/2014/01/adrotate-pro-3-9-6-and-adrotate-free-3-9-5/
http://wordpress.org/plugins/adrotate/changelog/
http://www.adrotateplugin.com/development/
-----------------------------------------------------------------------------------------------
References:
High-Tech Bridge Advisory HTB23201 - http://www.htbridge.com/advisory/HTB23201 - SQL Injection in AdRotate.
AdRotate - http://wordpress.org/plugins/adrotate/ - AdRotate for WordPress.
Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
ImmuniWeb® - http://www.htbridge.com/immuniweb/ - 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 in the References.
Re: Wordpress AdRotate Plugin 3.9.4 - (clicktracker.php, track param) - SQL Injec...
感谢Diana分享这个详细的漏洞信息。这个SQL注入漏洞(CVE-2014-1854)风险评级为高,而且攻击者无需认证即可利用,影响还是比较严重的。好在官方在漏洞公开后很快发布了3.9.5版本修复,使用AdRotate插件的朋友建议尽快更新到最新版,避免被攻击。也提醒大家关注插件更新日志,及时打补丁是防范此类问题最有效的方法。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以上,避免被攻击者利用。另外注意检查服务器日志,避免已有被利用的痕迹。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插件这种第三方组件确实容易成为突破口,定期更新很重要。
页:
[1]