Vulnerabilities > CVE-2014-8177 - Improper Access Control vulnerability in Redhat products

047910
CVSS 6.5 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
NONE
Integrity impact
HIGH
Availability impact
NONE
network
low complexity
redhat
CWE-284
nessus

Summary

The Red Hat gluster-swift package, as used in Red Hat Gluster Storage (formerly Red Hat Storage Server), allows remote authenticated users to bypass the max_meta_count constraint via multiple crafted requests which exceed the limit when combined.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.

Nessus

  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2015-1845.NASL
    descriptionA flaw exists in Red Hat Gluster Storage
    last seen2020-06-01
    modified2020-06-02
    plugin id86306
    published2015-10-07
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/86306
    titleRHEL 6 : swiftonfile (RHSA-2015:1845)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86306);
      script_version("2.7");
      script_cvs_date("Date: 2019/10/24 15:35:40");
    
      script_cve_id("CVE-2014-8177");
      script_bugtraq_id(76979);
      script_xref(name:"RHSA", value:"2015:1845");
    
      script_name(english:"RHEL 6 : swiftonfile (RHSA-2015:1845)");
      script_summary(english:"Checks the rpm output for the updated packages.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Red Hat host is missing one or more security updates.");
      script_set_attribute(attribute:"description", value:
    "A flaw exists in Red Hat Gluster Storage's OpenStack Object Storage
    (swiftonfile) due to improper enforcement of metadata constraints. An
    authenticated, remote attacker can exploit this, via added metadata in
    several separate calls, to bypass the max_meta_count restraint and
    store more metadata than allowed by the configuration, resulting in a
    denial of service condition.");
      script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2015-1845.html");
      script_set_attribute(attribute:"see_also", value:"https://www.redhat.com/security/data/cve/CVE-2014-8177.html");
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/08/21");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/10/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/07");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:swiftonfile");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Red Hat Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2015-2019 Tenable Network Security, Inc.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat Enterprise Linux");
    os_ver = eregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat Enterprise Linux");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat Enterprise Linux 6.x", "Red Hat Enterprise Linux " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat Enterprise Linux", cpu);
    
    flag = 0;
    if (rpm_check(release:"RHEL6", reference:"swiftonfile-1.13.1-5.el6")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "swiftonfile");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2015-1846.NASL
    descriptionA flaw exists in Red Hat Gluster Storage
    last seen2020-06-01
    modified2020-06-02
    plugin id86844
    published2015-11-11
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/86844
    titleRHEL 7 : swiftonfile (RHSA-2015:1846)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86844);
      script_version("2.6");
      script_cvs_date("Date: 2019/10/24 15:35:40");
    
      script_cve_id("CVE-2014-8177");
      script_bugtraq_id(76979);
      script_xref(name:"RHSA", value:"2015:1846");
    
      script_name(english:"RHEL 7 : swiftonfile (RHSA-2015:1846)");
      script_summary(english:"Checks the rpm output for the updated packages.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Red Hat host is missing one or more security updates.");
      script_set_attribute(attribute:"description", value:
    "A flaw exists in Red Hat Gluster Storage's OpenStack Object Storage
    (swiftonfile) due to improper enforcement of metadata constraints. An
    authenticated, remote attacker can exploit this, via added metadata in
    several separate calls, to bypass the max_meta_count restraint and
    store more metadata than allowed by the configuration, resulting in a
    denial of service condition.");
      script_set_attribute(attribute:"see_also", value:"http://rhn.redhat.com/errata/RHSA-2015-1846.html");
      script_set_attribute(attribute:"see_also", value:"https://www.redhat.com/security/data/cve/CVE-2014-8177.html");
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/08/21");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/10/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/11/11");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:swiftonfile");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Red Hat Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2015-2019 Tenable Network Security, Inc.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat Enterprise Linux");
    os_ver = eregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat Enterprise Linux");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat Enterprise Linux 7.x", "Red Hat Enterprise Linux " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat Enterprise Linux", cpu);
    if ("x86_64" >!< cpu) audit(AUDIT_ARCH_NOT, "x86_64", cpu);
    
    flag = 0;
    if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"swiftonfile-1.13.1-5.el7")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "swiftonfile");
    }
    

Redhat

advisories
  • rhsa
    idRHSA-2015:1845
  • rhsa
    idRHSA-2015:1846
rpms
  • gdeploy-0:1.0-12.el6rhs
  • gluster-nagios-addons-0:0.2.5-1.el6rhs
  • gluster-nagios-addons-debuginfo-0:0.2.5-1.el6rhs
  • gluster-nagios-common-0:0.2.2-1.el6rhs
  • glusterfs-0:3.7.1-16.el6
  • glusterfs-0:3.7.1-16.el6rhs
  • glusterfs-api-0:3.7.1-16.el6
  • glusterfs-api-0:3.7.1-16.el6rhs
  • glusterfs-api-devel-0:3.7.1-16.el6
  • glusterfs-api-devel-0:3.7.1-16.el6rhs
  • glusterfs-cli-0:3.7.1-16.el6
  • glusterfs-cli-0:3.7.1-16.el6rhs
  • glusterfs-client-xlators-0:3.7.1-16.el6
  • glusterfs-client-xlators-0:3.7.1-16.el6rhs
  • glusterfs-debuginfo-0:3.7.1-16.el6
  • glusterfs-debuginfo-0:3.7.1-16.el6rhs
  • glusterfs-devel-0:3.7.1-16.el6
  • glusterfs-devel-0:3.7.1-16.el6rhs
  • glusterfs-fuse-0:3.7.1-16.el6
  • glusterfs-fuse-0:3.7.1-16.el6rhs
  • glusterfs-ganesha-0:3.7.1-16.el6rhs
  • glusterfs-geo-replication-0:3.7.1-16.el6rhs
  • glusterfs-libs-0:3.7.1-16.el6
  • glusterfs-libs-0:3.7.1-16.el6rhs
  • glusterfs-rdma-0:3.7.1-16.el6
  • glusterfs-rdma-0:3.7.1-16.el6rhs
  • glusterfs-server-0:3.7.1-16.el6rhs
  • gstatus-0:0.65-1.el6rhs
  • gstatus-debuginfo-0:0.65-1.el6rhs
  • nagios-server-addons-0:0.2.2-1.el6rhs
  • nfs-ganesha-0:2.2.0-9.el6rhs
  • nfs-ganesha-debuginfo-0:2.2.0-9.el6rhs
  • nfs-ganesha-gluster-0:2.2.0-9.el6rhs
  • openstack-swift-0:1.13.1-6.el6ost
  • openstack-swift-account-0:1.13.1-6.el6ost
  • openstack-swift-container-0:1.13.1-6.el6ost
  • openstack-swift-doc-0:1.13.1-6.el6ost
  • openstack-swift-object-0:1.13.1-6.el6ost
  • openstack-swift-proxy-0:1.13.1-6.el6ost
  • python-gluster-0:3.7.1-16.el6
  • python-gluster-0:3.7.1-16.el6rhs
  • redhat-storage-server-0:3.1.1.0-2.el6rhs
  • swiftonfile-0:1.13.1-5.el6rhs
  • vdsm-0:4.16.20-1.3.el6rhs
  • vdsm-cli-0:4.16.20-1.3.el6rhs
  • vdsm-debug-plugin-0:4.16.20-1.3.el6rhs
  • vdsm-debuginfo-0:4.16.20-1.3.el6rhs
  • vdsm-gluster-0:4.16.20-1.3.el6rhs
  • vdsm-hook-ethtool-options-0:4.16.20-1.3.el6rhs
  • vdsm-hook-faqemu-0:4.16.20-1.3.el6rhs
  • vdsm-hook-openstacknet-0:4.16.20-1.3.el6rhs
  • vdsm-hook-qemucmdline-0:4.16.20-1.3.el6rhs
  • vdsm-jsonrpc-0:4.16.20-1.3.el6rhs
  • vdsm-python-0:4.16.20-1.3.el6rhs
  • vdsm-python-zombiereaper-0:4.16.20-1.3.el6rhs
  • vdsm-reg-0:4.16.20-1.3.el6rhs
  • vdsm-tests-0:4.16.20-1.3.el6rhs
  • vdsm-xmlrpc-0:4.16.20-1.3.el6rhs
  • vdsm-yajsonrpc-0:4.16.20-1.3.el6rhs
  • gdeploy-0:1.0-12.el7rhgs
  • gluster-nagios-addons-0:0.2.5-1.el7rhgs
  • gluster-nagios-addons-debuginfo-0:0.2.5-1.el7rhgs
  • gluster-nagios-common-0:0.2.2-1.el7rhgs
  • glusterfs-0:3.7.1-16.el7
  • glusterfs-0:3.7.1-16.el7rhgs
  • glusterfs-api-0:3.7.1-16.el7
  • glusterfs-api-0:3.7.1-16.el7rhgs
  • glusterfs-api-devel-0:3.7.1-16.el7
  • glusterfs-api-devel-0:3.7.1-16.el7rhgs
  • glusterfs-cli-0:3.7.1-16.el7
  • glusterfs-cli-0:3.7.1-16.el7rhgs
  • glusterfs-client-xlators-0:3.7.1-16.el7
  • glusterfs-client-xlators-0:3.7.1-16.el7rhgs
  • glusterfs-debuginfo-0:3.7.1-16.el7
  • glusterfs-debuginfo-0:3.7.1-16.el7rhgs
  • glusterfs-devel-0:3.7.1-16.el7
  • glusterfs-devel-0:3.7.1-16.el7rhgs
  • glusterfs-fuse-0:3.7.1-16.el7
  • glusterfs-fuse-0:3.7.1-16.el7rhgs
  • glusterfs-ganesha-0:3.7.1-16.el7rhgs
  • glusterfs-geo-replication-0:3.7.1-16.el7rhgs
  • glusterfs-libs-0:3.7.1-16.el7
  • glusterfs-libs-0:3.7.1-16.el7rhgs
  • glusterfs-rdma-0:3.7.1-16.el7
  • glusterfs-rdma-0:3.7.1-16.el7rhgs
  • glusterfs-server-0:3.7.1-16.el7rhgs
  • gstatus-0:0.65-1.el7rhgs
  • gstatus-debuginfo-0:0.65-1.el7rhgs
  • nagios-server-addons-0:0.2.2-1.el7rhgs
  • nagios-server-addons-debuginfo-0:0.2.2-1.el7rhgs
  • nfs-ganesha-0:2.2.0-9.el7rhgs
  • nfs-ganesha-debuginfo-0:2.2.0-9.el7rhgs
  • nfs-ganesha-gluster-0:2.2.0-9.el7rhgs
  • openstack-swift-0:1.13.1-6.el7ost
  • openstack-swift-account-0:1.13.1-6.el7ost
  • openstack-swift-container-0:1.13.1-6.el7ost
  • openstack-swift-doc-0:1.13.1-6.el7ost
  • openstack-swift-object-0:1.13.1-6.el7ost
  • openstack-swift-proxy-0:1.13.1-6.el7ost
  • python-gluster-0:3.7.1-16.el7
  • python-gluster-0:3.7.1-16.el7rhgs
  • redhat-storage-server-0:3.1.1.0-2.el7rhgs
  • swiftonfile-0:1.13.1-5.el7rhgs
  • vdsm-0:4.16.20-1.3.el7rhgs
  • vdsm-cli-0:4.16.20-1.3.el7rhgs
  • vdsm-debug-plugin-0:4.16.20-1.3.el7rhgs
  • vdsm-debuginfo-0:4.16.20-1.3.el7rhgs
  • vdsm-gluster-0:4.16.20-1.3.el7rhgs
  • vdsm-hook-ethtool-options-0:4.16.20-1.3.el7rhgs
  • vdsm-hook-faqemu-0:4.16.20-1.3.el7rhgs
  • vdsm-hook-openstacknet-0:4.16.20-1.3.el7rhgs
  • vdsm-hook-qemucmdline-0:4.16.20-1.3.el7rhgs
  • vdsm-jsonrpc-0:4.16.20-1.3.el7rhgs
  • vdsm-python-0:4.16.20-1.3.el7rhgs
  • vdsm-python-zombiereaper-0:4.16.20-1.3.el7rhgs
  • vdsm-reg-0:4.16.20-1.3.el7rhgs
  • vdsm-tests-0:4.16.20-1.3.el7rhgs
  • vdsm-xmlrpc-0:4.16.20-1.3.el7rhgs
  • vdsm-yajsonrpc-0:4.16.20-1.3.el7rhgs