查看: 12036|回复: 0

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

[复制链接]
  • TA的每日心情
    开心
    2017-1-9 18:10
  • 签到天数: 2 天

    [LV.1]初来乍到

    发表于 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.
    
    回复

    使用道具 举报

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

    本版积分规则

    指导单位

    江苏省公安厅

    江苏省通信管理局

    浙江省台州刑侦支队

    DEFCON GROUP 86025

    旗下站点

    邮箱系统

    应急响应中心

    红盟安全

    联系我们

    官方QQ群:112851260

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

    官方核心成员

    Archiver|手机版|小黑屋| ( 苏ICP备2021031567号 )

    GMT+8, 2024-12-27 20:40 , Processed in 0.020375 second(s), 12 queries , Gzip On, MemCache On.

    Powered by ihonker.com

    Copyright © 2015-现在.

  • 返回顶部