Vulnerabilities > CVE-2014-5340 - Code Injection vulnerability in Check MK Project Check MK

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
check-mk-project
CWE-94
critical
nessus

Summary

The wato component in Check_MK before 1.2.4p4 and 1.2.5 before 1.2.5i4 uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, related to an automation URL.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-10972.NASL
    descriptionNew upstream release providing many security fixes. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-09-29
    plugin id77926
    published2014-09-29
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/77926
    titleFedora 20 : check-mk-1.2.4p5-1.fc20 (2014-10972)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-11895.NASL
    descriptionDo not require any other shell than bash since that
    last seen2020-03-17
    modified2014-10-11
    plugin id78247
    published2014-10-11
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/78247
    titleFedora 20 : check-mk-1.2.4p5-2.fc20 (2014-11895)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-11160.NASL
    descriptionNew upstream release that provides multiple security files. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-09-29
    plugin id77932
    published2014-09-29
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/77932
    titleFedora 21 : check-mk-1.2.4p5-1.fc21 (2014-11160)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-11082.NASL
    descriptionNew upstream release providing many security fixes. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-09-29
    plugin id77930
    published2014-09-29
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/77930
    titleFedora 19 : check-mk-1.2.4p5-1.fc19 (2014-11082)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-11929.NASL
    descriptionDo not require any other shell than bash since that
    last seen2020-03-17
    modified2014-10-11
    plugin id78249
    published2014-10-11
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/78249
    titleFedora 19 : check-mk-1.2.4p5-2.fc19 (2014-11929)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-11896.NASL
    descriptionDo not require any other shell than bash since that
    last seen2020-03-17
    modified2014-10-06
    plugin id78056
    published2014-10-06
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/78056
    titleFedora 21 : check-mk-1.2.4p5-2.fc21 (2014-11896)
  • NASL familyCGI abuses
    NASL idCHECK_MK_1_2_5_I4.NASL
    descriptionThe version of Check_MK running on the remote web server is 1.2.4 prior to 1.2.4p4 or 1.2.5 prior to 1.2.5i4. It is, therefore, affected by multiple vulnerabilities : - Multiple cross-site script (XSS) vulnerabilities exist in the multisite component, specifically within the render_status_icons() function in file htmllib.py and the ajax_action() function in file actions.py, due to improper validation of user-supplied input before returning it to users. An unauthenticated, remote attacker can exploit these, via a specially crafted request, to execute arbitrary script code in a user
    last seen2020-06-01
    modified2020-06-02
    plugin id101087
    published2017-06-28
    reporterThis script is Copyright (C) 2017-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/101087
    titleCheck_MK 1.2.4 < 1.2.4p4 / 1.2.5 < 1.2.5i4 Multiple Vulnerabilities

Redhat

advisories
rhsa
idRHSA-2015:1495
rpms
  • augeas-0:1.0.0-10.el6
  • augeas-debuginfo-0:1.0.0-10.el6
  • augeas-devel-0:1.0.0-10.el6
  • augeas-libs-0:1.0.0-10.el6
  • ccs-0:0.16.2-81.el6
  • check-mk-0:1.2.6p1-3.el6rhs
  • check-mk-debuginfo-0:1.2.6p1-3.el6rhs
  • check-mk-livestatus-0:1.2.6p1-3.el6rhs
  • clufter-cli-0:0.11.2-1.el6
  • clufter-debuginfo-0:0.11.2-1.el6
  • clufter-lib-ccs-0:0.11.2-1.el6
  • clufter-lib-general-0:0.11.2-1.el6
  • clufter-lib-pcs-0:0.11.2-1.el6
  • cluster-cim-0:0.16.2-31.el6
  • cluster-debuginfo-0:3.0.12.1-73.el6
  • cluster-snmp-0:0.16.2-31.el6
  • clusterlib-0:3.0.12.1-73.el6
  • clusterlib-devel-0:3.0.12.1-73.el6
  • clustermon-debuginfo-0:0.16.2-31.el6
  • cman-0:3.0.12.1-73.el6
  • corosync-0:1.4.7-2.el6
  • corosync-debuginfo-0:1.4.7-2.el6
  • corosynclib-0:1.4.7-2.el6
  • corosynclib-devel-0:1.4.7-2.el6
  • ctdb2.5-0:2.5.5-7.el6rhs
  • ctdb2.5-debuginfo-0:2.5.5-7.el6rhs
  • fence-virt-0:0.2.3-19.el6
  • fence-virt-debuginfo-0:0.2.3-19.el6
  • fence-virtd-0:0.2.3-19.el6
  • fence-virtd-checkpoint-0:0.2.3-19.el6
  • fence-virtd-libvirt-0:0.2.3-19.el6
  • fence-virtd-multicast-0:0.2.3-19.el6
  • fence-virtd-serial-0:0.2.3-19.el6
  • gfs2-utils-0:3.0.12.1-73.el6
  • gluster-nagios-addons-0:0.2.4-4.el6rhs
  • gluster-nagios-addons-debuginfo-0:0.2.4-4.el6rhs
  • gluster-nagios-common-0:0.2.0-1.el6rhs
  • glusterfs-0:3.7.1-11.el5
  • glusterfs-0:3.7.1-11.el6
  • glusterfs-0:3.7.1-11.el6rhs
  • glusterfs-api-0:3.7.1-11.el5
  • glusterfs-api-0:3.7.1-11.el6
  • glusterfs-api-0:3.7.1-11.el6rhs
  • glusterfs-api-devel-0:3.7.1-11.el5
  • glusterfs-api-devel-0:3.7.1-11.el6
  • glusterfs-api-devel-0:3.7.1-11.el6rhs
  • glusterfs-cli-0:3.7.1-11.el5
  • glusterfs-cli-0:3.7.1-11.el6
  • glusterfs-cli-0:3.7.1-11.el6rhs
  • glusterfs-client-xlators-0:3.7.1-11.el5
  • glusterfs-client-xlators-0:3.7.1-11.el6
  • glusterfs-client-xlators-0:3.7.1-11.el6rhs
  • glusterfs-debuginfo-0:3.7.1-11.el5
  • glusterfs-debuginfo-0:3.7.1-11.el6
  • glusterfs-debuginfo-0:3.7.1-11.el6rhs
  • glusterfs-devel-0:3.7.1-11.el5
  • glusterfs-devel-0:3.7.1-11.el6
  • glusterfs-devel-0:3.7.1-11.el6rhs
  • glusterfs-fuse-0:3.7.1-11.el5
  • glusterfs-fuse-0:3.7.1-11.el6
  • glusterfs-fuse-0:3.7.1-11.el6rhs
  • glusterfs-ganesha-0:3.7.1-11.el6rhs
  • glusterfs-geo-replication-0:3.7.1-11.el6rhs
  • glusterfs-libs-0:3.7.1-11.el5
  • glusterfs-libs-0:3.7.1-11.el6
  • glusterfs-libs-0:3.7.1-11.el6rhs
  • glusterfs-rdma-0:3.7.1-11.el5
  • glusterfs-rdma-0:3.7.1-11.el6
  • glusterfs-rdma-0:3.7.1-11.el6rhs
  • glusterfs-server-0:3.7.1-11.el6rhs
  • gstatus-0:0.64-3.1.el6rhs
  • gstatus-debuginfo-0:0.64-3.1.el6rhs
  • libqb-0:0.17.1-1.el6
  • libqb-debuginfo-0:0.17.1-1.el6
  • libqb-devel-0:0.17.1-1.el6
  • libtalloc-0:2.1.1-4.el6rhs
  • libtalloc-debuginfo-0:2.1.1-4.el6rhs
  • libtalloc-devel-0:2.1.1-4.el6rhs
  • libvirt-debuginfo-0:0.10.2-54.el6
  • libvirt-lock-sanlock-0:0.10.2-54.el6
  • modcluster-0:0.16.2-31.el6
  • nagios-plugins-0:1.4.16-12.el6rhs
  • nagios-plugins-debuginfo-0:1.4.16-12.el6rhs
  • nagios-plugins-dummy-0:1.4.16-12.el6rhs
  • nagios-plugins-ide_smart-0:1.4.16-12.el6rhs
  • nagios-plugins-nrpe-0:2.15-4.1.el6rhs
  • nagios-plugins-ping-0:1.4.16-12.el6rhs
  • nagios-plugins-procs-0:1.4.16-12.el6rhs
  • nagios-server-addons-0:0.2.1-4.el6rhs
  • nfs-ganesha-0:2.2.0-5.el6rhs
  • nfs-ganesha-debuginfo-0:2.2.0-5.el6rhs
  • nfs-ganesha-gluster-0:2.2.0-5.el6rhs
  • nfs-ganesha-nullfs-0:2.2.0-5.el6rhs
  • nrpe-0:2.15-4.1.el6rhs
  • nrpe-debuginfo-0:2.15-4.1.el6rhs
  • openais-0:1.1.1-7.el6
  • openais-debuginfo-0:1.1.1-7.el6
  • openaislib-0:1.1.1-7.el6
  • openaislib-devel-0:1.1.1-7.el6
  • openstack-swift-0:1.13.1-4.el6ost
  • openstack-swift-account-0:1.13.1-4.el6ost
  • openstack-swift-container-0:1.13.1-4.el6ost
  • openstack-swift-doc-0:1.13.1-4.el6ost
  • openstack-swift-object-0:1.13.1-4.el6ost
  • openstack-swift-proxy-0:1.13.1-4.el6ost
  • pacemaker-0:1.1.12-8.el6
  • pacemaker-cli-0:1.1.12-8.el6
  • pacemaker-cluster-libs-0:1.1.12-8.el6
  • pacemaker-cts-0:1.1.12-8.el6
  • pacemaker-debuginfo-0:1.1.12-8.el6
  • pacemaker-doc-0:1.1.12-8.el6
  • pacemaker-libs-0:1.1.12-8.el6
  • pacemaker-libs-devel-0:1.1.12-8.el6
  • pacemaker-remote-0:1.1.12-8.el6
  • pcs-0:0.9.139-9.el6
  • pcs-debuginfo-0:0.9.139-9.el6
  • pnp4nagios-0:0.6.22-2.1.el6rhs
  • pnp4nagios-debuginfo-0:0.6.22-2.1.el6rhs
  • pynag-0:0.9.1-1.el6rhs
  • pynag-examples-0:0.9.1-1.el6rhs
  • pytalloc-0:2.1.1-4.el6rhs
  • pytalloc-devel-0:2.1.1-4.el6rhs
  • python-blivet-1:1.0.0.2-1.el6rhs
  • python-clufter-0:0.11.2-1.el6
  • python-cpopen-0:1.3-4.el6_5
  • python-cpopen-debuginfo-0:1.3-4.el6_5
  • python-eventlet-0:0.14.0-1.el6
  • python-eventlet-doc-0:0.14.0-1.el6
  • python-gluster-0:3.7.1-11.el5
  • python-gluster-0:3.7.1-11.el6
  • python-gluster-0:3.7.1-11.el6rhs
  • python-greenlet-0:0.4.2-1.el6
  • python-greenlet-debuginfo-0:0.4.2-1.el6
  • python-greenlet-devel-0:0.4.2-1.el6
  • python-keystoneclient-1:0.9.0-5.el6ost
  • python-keystoneclient-doc-1:0.9.0-5.el6ost
  • python-prettytable-0:0.7.2-1.el6
  • python-pyudev-0:0.15-2.el6rhs
  • redhat-storage-logos-0:60.0.20-1.el6rhs
  • redhat-storage-server-0:3.1.0.3-1.el6rhs
  • resource-agents-0:3.9.5-24.el6
  • resource-agents-debuginfo-0:3.9.5-24.el6
  • resource-agents-sap-0:3.9.5-24.el6
  • ricci-0:0.16.2-81.el6
  • ricci-debuginfo-0:0.16.2-81.el6
  • userspace-rcu-0:0.7.9-2.el6rhs
  • userspace-rcu-debuginfo-0:0.7.9-2.el6rhs
  • userspace-rcu-devel-0:0.7.9-2.el6rhs
  • vdsm-0:4.16.20-1.2.el6rhs
  • vdsm-cli-0:4.16.20-1.2.el6rhs
  • vdsm-debug-plugin-0:4.16.20-1.2.el6rhs
  • vdsm-debuginfo-0:4.16.20-1.2.el6rhs
  • vdsm-gluster-0:4.16.20-1.2.el6rhs
  • vdsm-hook-ethtool-options-0:4.16.20-1.2.el6rhs
  • vdsm-hook-faqemu-0:4.16.20-1.2.el6rhs
  • vdsm-hook-openstacknet-0:4.16.20-1.2.el6rhs
  • vdsm-hook-qemucmdline-0:4.16.20-1.2.el6rhs
  • vdsm-jsonrpc-0:4.16.20-1.2.el6rhs
  • vdsm-python-0:4.16.20-1.2.el6rhs
  • vdsm-python-zombiereaper-0:4.16.20-1.2.el6rhs
  • vdsm-reg-0:4.16.20-1.2.el6rhs
  • vdsm-tests-0:4.16.20-1.2.el6rhs
  • vdsm-xmlrpc-0:4.16.20-1.2.el6rhs
  • vdsm-yajsonrpc-0:4.16.20-1.2.el6rhs