Vulnerabilities > CVE-2019-10195 - Information Exposure Through Log Files vulnerability in multiple products

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

Summary

A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA's batch processing API logged operations. This included passing user passwords in clear text on FreeIPA masters. Batch processing of commands with passwords as arguments or options is not performed by default in FreeIPA but is possible by third-party components. An attacker having access to system logs on FreeIPA masters could use this flaw to produce log file content with passwords exposed.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Fuzzing and observing application log data/errors for application mapping
    An attacker sends random, malformed, or otherwise unexpected messages to a target application and observes the application's log or error messages returned. Fuzzing techniques involve sending random or malformed messages to a target and monitoring the target's response. The attacker does not initially know how a target will respond to individual messages but by attempting a large number of message variants they may find a variant that trigger's desired behavior. In this attack, the purpose of the fuzzing is to observe the application's log and error messages, although fuzzing a target can also sometimes cause the target to enter an unstable state, causing a crash. By observing logs and error messages, the attacker can learn details about the configuration of the target application and might be able to cause the target to disclose sensitive information.

Nessus

  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-0378.NASL
    descriptionAn update for ipa is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Red Hat Identity Management (IdM) is a centralized authentication, identity management, and authorization solution for both traditional and cloud-based enterprise environments. Security Fix(es) : * ipa: Denial of service in IPA server due to wrong use of ber_scanf() (CVE-2019-14867) * ipa: Batch API logging user passwords to /var/log/httpd/error_log (CVE-2019-10195) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Bug Fix(es) : * Issue with adding multiple RHEL 7 IPA replica to RHEL 6 IPA master (BZ# 1770728) * User incorrectly added to negative cache when backend is reconnecting to IPA service / timed out: error code 32
    last seen2020-06-01
    modified2020-06-02
    plugin id133485
    published2020-02-05
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133485
    titleRHEL 7 : ipa (RHSA-2020:0378)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2020:0378. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133485);
      script_version("1.2");
      script_cvs_date("Date: 2020/02/07");
    
      script_cve_id("CVE-2019-10195", "CVE-2019-14867");
      script_xref(name:"RHSA", value:"2020:0378");
    
      script_name(english:"RHEL 7 : ipa (RHSA-2020:0378)");
      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:
    "An update for ipa is now available for Red Hat Enterprise Linux 7.
    
    Red Hat Product Security has rated this update as having a security
    impact of Important. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available for each
    vulnerability from the CVE link(s) in the References section.
    
    Red Hat Identity Management (IdM) is a centralized authentication,
    identity management, and authorization solution for both traditional
    and cloud-based enterprise environments.
    
    Security Fix(es) :
    
    * ipa: Denial of service in IPA server due to wrong use of ber_scanf()
    (CVE-2019-14867)
    
    * ipa: Batch API logging user passwords to /var/log/httpd/error_log
    (CVE-2019-10195)
    
    For more details about the security issue(s), including the impact, a
    CVSS score, acknowledgments, and other related information, refer to
    the CVE page(s) listed in the References section.
    
    Bug Fix(es) :
    
    * Issue with adding multiple RHEL 7 IPA replica to RHEL 6 IPA master
    (BZ# 1770728)
    
    * User incorrectly added to negative cache when backend is
    reconnecting to IPA service / timed out: error code 32 'No such
    object' (BZ#1773953)
    
    * After upgrade AD Trust Agents were removed from LDAP (BZ#1781153)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2020:0378"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-10195"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2019-14867"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-client-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-python-compat");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-server");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-server-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-server-dns");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:ipa-server-trust-ad");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:python2-ipaclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:python2-ipalib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:python2-ipaserver");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.7");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/02/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/02/05");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      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("misc_func.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");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 7.x", "Red Hat " + 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", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2020:0378";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL7", cpu:"s390x", reference:"ipa-client-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"ipa-client-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"ipa-client-common-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"ipa-common-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"s390x", reference:"ipa-debuginfo-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"ipa-debuginfo-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"ipa-python-compat-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"ipa-server-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"ipa-server-common-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"ipa-server-dns-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"ipa-server-trust-ad-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"python2-ipaclient-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"python2-ipalib-4.6.5-11.el7_7.4")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"python2-ipaserver-4.6.5-11.el7_7.4")) flag++;
    
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "ipa-client / ipa-client-common / ipa-common / ipa-debuginfo / etc");
      }
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-8E9093DA55.NASL
    descriptionFreeIPA 4.8.3 is a security update release that includes fixes for two issues : - CVE-2019-10195: Don
    last seen2020-06-01
    modified2020-06-02
    plugin id131713
    published2019-12-05
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131713
    titleFedora 30 : freeipa (2019-8e9093da55)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory FEDORA-2019-8e9093da55.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131713);
      script_version("1.4");
      script_cvs_date("Date: 2019/12/18");
    
      script_cve_id("CVE-2019-10195", "CVE-2019-14867");
      script_xref(name:"FEDORA", value:"2019-8e9093da55");
    
      script_name(english:"Fedora 30 : freeipa (2019-8e9093da55)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "FreeIPA 4.8.3 is a security update release that includes fixes for two
    issues :
    
      - CVE-2019-10195: Don't log passwords embedded in commands
        in calls using batch A flaw was found in the way that
        FreeIPA's batch processing API logged operations. This
        included passing user passwords in clear text on FreeIPA
        masters. Batch processing of commands with passwords as
        arguments or options is not performed by default in
        FreeIPA but is possible by third-party components. An
        attacker having access to system logs on FreeIPA masters
        could use this flaw to produce log file content with
        passwords exposed. The issue was reported by Jamison
        Bennett from Cloudera
    
      - CVE-2019-14867: Make sure to have storage space for tag
        A flaw was found in the way the internal function
        ber_scanf() was used in some components of the IPA
        server, which parsed kerberos key data. An
        unauthenticated attacker who could trigger parsing of
        the krb principal key could cause the IPA server to
        crash or in some conditions, cause arbitrary code to be
        executed on the server hosting the IPA server. The issue
        was reported by Todd Lipcon from Cloudera
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora update system website.
    Tenable has attempted to automatically clean and format it as much as
    possible without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-8e9093da55"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected freeipa package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-14867");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:freeipa");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:30");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/12/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/12/05");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      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) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! preg(pattern:"^30([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 30", "Fedora " + 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$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"FC30", reference:"freeipa-4.8.3-1.fc30")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "freeipa");
    }
    
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1391.NASL
    descriptionAccording to the versions of the ipa packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA
    last seen2020-05-06
    modified2020-04-15
    plugin id135520
    published2020-04-15
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135520
    titleEulerOS 2.0 SP3 : ipa (EulerOS-SA-2020-1391)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(135520);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/04");
    
      script_cve_id(
        "CVE-2019-10195",
        "CVE-2019-14867"
      );
    
      script_name(english:"EulerOS 2.0 SP3 : ipa (EulerOS-SA-2020-1391)");
      script_summary(english:"Checks the rpm output for the updated packages.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote EulerOS host is missing multiple security updates.");
      script_set_attribute(attribute:"description", value:
    "According to the versions of the ipa packages installed, the EulerOS
    installation on the remote host is affected by the following
    vulnerabilities :
    
      - A flaw was found in IPA, all 4.6.x versions before
        4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x
        versions before 4.8.3, in the way that FreeIPA's batch
        processing API logged operations. This included passing
        user passwords in clear text on FreeIPA masters. Batch
        processing of commands with passwords as arguments or
        options is not performed by default in FreeIPA but is
        possible by third-party components. An attacker having
        access to system logs on FreeIPA masters could use this
        flaw to produce log file content with passwords
        exposed.(CVE-2019-10195)
    
      - A flaw was found in IPA, all 4.6.x versions before
        4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x
        versions before 4.8.3, in the way the internal function
        ber_scanf() was used in some components of the IPA
        server, which parsed kerberos key data. An
        unauthenticated attacker who could trigger parsing of
        the krb principal key could cause the IPA server to
        crash or in some conditions, cause arbitrary code to be
        executed on the server hosting the IPA
        server.(CVE-2019-14867)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the EulerOS security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues.");
      # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2020-1391
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eecb4bfc");
      script_set_attribute(attribute:"solution", value:
    "Update the affected ipa packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2020/04/15");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/15");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-admintools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-client-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-server");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-server-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-server-dns");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:ipa-server-trust-ad");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:python2-ipaclient");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:python2-ipalib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:python2-ipaserver");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Huawei Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp");
      script_exclude_keys("Host/EulerOS/uvp_version");
    
      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/EulerOS/release");
    if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS");
    if (release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0");
    
    sp = get_kb_item("Host/EulerOS/sp");
    if (isnull(sp) || sp !~ "^(3)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP3");
    
    uvp = get_kb_item("Host/EulerOS/uvp_version");
    if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP3", "EulerOS UVP " + uvp);
    
    if (!get_kb_item("Host/EulerOS/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$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_ARCH_NOT, "i686 / x86_64", cpu);
    
    flag = 0;
    
    pkgs = ["ipa-admintools-4.4.0-14.4.h5",
            "ipa-client-4.4.0-14.4.h5",
            "ipa-client-common-4.4.0-14.4.h5",
            "ipa-common-4.4.0-14.4.h5",
            "ipa-server-4.4.0-14.4.h5",
            "ipa-server-common-4.4.0-14.4.h5",
            "ipa-server-dns-4.4.0-14.4.h5",
            "ipa-server-trust-ad-4.4.0-14.4.h5",
            "python2-ipaclient-4.4.0-14.4.h5",
            "python2-ipalib-4.4.0-14.4.h5",
            "python2-ipaserver-4.4.0-14.4.h5"];
    
    foreach (pkg in pkgs)
      if (rpm_check(release:"EulerOS-2.0", sp:"3", reference:pkg)) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "ipa");
    }
    
  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2020-0013_IPA.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has ipa packages installed that are affected by multiple vulnerabilities: - A flaw was found in the way that FreeIPA
    last seen2020-04-30
    modified2020-04-21
    plugin id135759
    published2020-04-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135759
    titleNewStart CGSL CORE 5.04 / MAIN 5.04 : ipa Multiple Vulnerabilities (NS-SA-2020-0013)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-C64E1612F5.NASL
    descriptionFreeIPA 4.8.3 is a security update release that includes fixes for two issues : - CVE-2019-10195: Don
    last seen2020-06-01
    modified2020-06-02
    plugin id131717
    published2019-12-05
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131717
    titleFedora 31 : freeipa (2019-c64e1612f5)
  • NASL familyAmazon Linux Local Security Checks
    NASL idAL2_ALAS-2020-1423.NASL
    descriptionA flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way the internal function ber_scanf() was used in some components of the IPA server, which parsed kerberos key data. An unauthenticated attacker who could trigger parsing of the krb principal key could cause the IPA server to crash or in some conditions, cause arbitrary code to be executed on the server hosting the IPA server. (CVE-2019-14867) A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way that FreeIPA
    last seen2020-05-16
    modified2020-05-13
    plugin id136528
    published2020-05-13
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136528
    titleAmazon Linux 2 : ipa (ALAS-2020-1423)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20200205_IPA_ON_SL7_X.NASL
    descriptionSecurity Fix(es) : - ipa: Denial of service in IPA server due to wrong use of ber_scanf() (CVE-2019-14867) - ipa: Batch API logging user passwords to /var/log/httpd/error_log (CVE-2019-10195)
    last seen2020-03-18
    modified2020-02-06
    plugin id133517
    published2020-02-06
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133517
    titleScientific Linux Security Update : ipa on SL7.x x86_64 (20200205)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-1269.NASL
    descriptionThe remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1269 advisory. - ipa: Batch API logging user passwords to /var/log/httpd/error_log (CVE-2019-10195) - ipa: Denial of service in IPA server due to wrong use of ber_scanf() (CVE-2019-14867) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-05-21
    modified2020-04-01
    plugin id135091
    published2020-04-01
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135091
    titleRHEL 8 : idm:DL1 (RHSA-2020:1269)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2020-0378.NASL
    descriptionFrom Red Hat Security Advisory 2020:0378 : An update for ipa is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Red Hat Identity Management (IdM) is a centralized authentication, identity management, and authorization solution for both traditional and cloud-based enterprise environments. Security Fix(es) : * ipa: Denial of service in IPA server due to wrong use of ber_scanf() (CVE-2019-14867) * ipa: Batch API logging user passwords to /var/log/httpd/error_log (CVE-2019-10195) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Bug Fix(es) : * Issue with adding multiple RHEL 7 IPA replica to RHEL 6 IPA master (BZ# 1770728) * User incorrectly added to negative cache when backend is reconnecting to IPA service / timed out: error code 32
    last seen2020-06-01
    modified2020-06-02
    plugin id133515
    published2020-02-06
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133515
    titleOracle Linux 7 : ipa (ELSA-2020-0378)

Redhat

advisories
  • rhsa
    idRHBA-2019:4268
  • rhsa
    idRHSA-2020:0378
rpms
  • bind-dyndb-ldap-0:11.1-14.module+el8.1.0+4098+f286395e
  • bind-dyndb-ldap-debuginfo-0:11.1-14.module+el8.1.0+4098+f286395e
  • bind-dyndb-ldap-debugsource-0:11.1-14.module+el8.1.0+4098+f286395e
  • custodia-0:0.6.0-3.module+el8.1.0+4098+f286395e
  • ipa-client-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-client-common-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-client-debuginfo-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-client-samba-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-common-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-debuginfo-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-debugsource-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-healthcheck-0:0.3-4.module+el8.1.0+4098+f286395e
  • ipa-idoverride-memberof-plugin-0:0.0.4-6.module+el8.1.0+4098+f286395e
  • ipa-python-compat-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-common-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-debuginfo-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-dns-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-trust-ad-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • ipa-server-trust-ad-debuginfo-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • opendnssec-0:1.4.14-1.module+el8.1.0+4098+f286395e
  • opendnssec-debuginfo-0:1.4.14-1.module+el8.1.0+4098+f286395e
  • opendnssec-debugsource-0:1.4.14-1.module+el8.1.0+4098+f286395e
  • python3-custodia-0:0.6.0-3.module+el8.1.0+4098+f286395e
  • python3-ipaclient-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • python3-ipalib-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • python3-ipaserver-0:4.8.0-13.module+el8.1.0+4923+c6efe041
  • python3-jwcrypto-0:0.5.0-1.module+el8.1.0+4098+f286395e
  • python3-kdcproxy-0:0.4-3.module+el8.1.0+4098+f286395e
  • python3-pyusb-0:1.0.0-9.module+el8.1.0+4098+f286395e
  • python3-qrcode-0:5.1-12.module+el8.1.0+4098+f286395e
  • python3-qrcode-core-0:5.1-12.module+el8.1.0+4098+f286395e
  • python3-yubico-0:1.3.2-9.module+el8.1.0+4098+f286395e
  • slapi-nis-0:0.56.3-2.module+el8.1.0+4098+f286395e
  • slapi-nis-debuginfo-0:0.56.3-2.module+el8.1.0+4098+f286395e
  • slapi-nis-debugsource-0:0.56.3-2.module+el8.1.0+4098+f286395e
  • softhsm-0:2.4.0-2.module+el8.1.0+4098+f286395e
  • softhsm-debuginfo-0:2.4.0-2.module+el8.1.0+4098+f286395e
  • softhsm-debugsource-0:2.4.0-2.module+el8.1.0+4098+f286395e
  • softhsm-devel-0:2.4.0-2.module+el8.1.0+4098+f286395e
  • ipa-client-0:4.6.5-11.el7_7.4
  • ipa-client-common-0:4.6.5-11.el7_7.4
  • ipa-common-0:4.6.5-11.el7_7.4
  • ipa-debuginfo-0:4.6.5-11.el7_7.4
  • ipa-python-compat-0:4.6.5-11.el7_7.4
  • ipa-server-0:4.6.5-11.el7_7.4
  • ipa-server-common-0:4.6.5-11.el7_7.4
  • ipa-server-dns-0:4.6.5-11.el7_7.4
  • ipa-server-trust-ad-0:4.6.5-11.el7_7.4
  • python2-ipaclient-0:4.6.5-11.el7_7.4
  • python2-ipalib-0:4.6.5-11.el7_7.4
  • python2-ipaserver-0:4.6.5-11.el7_7.4
  • bind-dyndb-ldap-0:11.1-13.module+el8+2555+b334d87b
  • bind-dyndb-ldap-debuginfo-0:11.1-13.module+el8+2555+b334d87b
  • bind-dyndb-ldap-debugsource-0:11.1-13.module+el8+2555+b334d87b
  • custodia-0:0.6.0-2.module+el8+2555+b334d87b
  • ipa-client-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-client-common-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-client-debuginfo-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-common-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-debuginfo-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-debugsource-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-idoverride-memberof-plugin-0:0.0.4-6.module+el8+2555+b334d87b
  • ipa-python-compat-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-common-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-debuginfo-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-dns-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-trust-ad-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • ipa-server-trust-ad-debuginfo-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • opendnssec-0:1.4.14-1.module+el8+2555+b334d87b
  • opendnssec-debuginfo-0:1.4.14-1.module+el8+2555+b334d87b
  • opendnssec-debugsource-0:1.4.14-1.module+el8+2555+b334d87b
  • python3-custodia-0:0.6.0-2.module+el8+2555+b334d87b
  • python3-ipaclient-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • python3-ipalib-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • python3-ipaserver-0:4.7.1-12.module+el8.0.0+5776+863ecd37
  • python3-jwcrypto-0:0.5.0-1.module+el8+2555+b334d87b
  • python3-kdcproxy-0:0.4-3.module+el8+2555+b334d87b
  • python3-pyusb-0:1.0.0-9.module+el8+2555+b334d87b
  • python3-qrcode-0:5.1-11.module+el8+2555+b334d87b
  • python3-qrcode-core-0:5.1-11.module+el8+2555+b334d87b
  • python3-yubico-0:1.3.2-9.module+el8+2555+b334d87b
  • slapi-nis-0:0.56.2-7.module+el8+2555+b334d87b
  • slapi-nis-debuginfo-0:0.56.2-7.module+el8+2555+b334d87b
  • slapi-nis-debugsource-0:0.56.2-7.module+el8+2555+b334d87b
  • softhsm-0:2.4.0-2.module+el8+2555+b334d87b
  • softhsm-debuginfo-0:2.4.0-2.module+el8+2555+b334d87b
  • softhsm-debugsource-0:2.4.0-2.module+el8+2555+b334d87b
  • softhsm-devel-0:2.4.0-2.module+el8+2555+b334d87b