Vulnerabilities > CVE-2018-11803 - Access of Uninitialized Pointer vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
HIGH
network
low complexity
apache
canonical
CWE-824
nessus

Summary

Subversion's mod_dav_svn Apache HTTPD module versions 1.11.0 and 1.10.0 to 1.10.3 will crash after dereferencing an uninitialized pointer if the client omits the root path in a recursive directory listing operation.

Common Weakness Enumeration (CWE)

Nessus

  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-1789.NASL
    descriptionAccording to the version of the subversion packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - Subversion
    last seen2020-05-03
    modified2019-07-25
    plugin id127026
    published2019-07-25
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127026
    titleEulerOS 2.0 SP8 : subversion (EulerOS-SA-2019-1789)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(127026);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/01");
    
      script_cve_id(
        "CVE-2018-11803"
      );
    
      script_name(english:"EulerOS 2.0 SP8 : subversion (EulerOS-SA-2019-1789)");
      script_summary(english:"Checks the rpm output for the updated package.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote EulerOS host is missing a security update.");
      script_set_attribute(attribute:"description", value:
    "According to the version of the subversion packages installed, the
    EulerOS installation on the remote host is affected by the following
    vulnerability :
    
      - Subversion's mod_dav_svn Apache HTTPD module versions
        1.11.0 and 1.10.0 to 1.10.3 will crash after
        dereferencing an uninitialized pointer if the client
        omits the root path in a recursive directory listing
        operation.(CVE-2018-11803)
    
    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-2019-1789
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?183de4c6");
      script_set_attribute(attribute:"solution", value:
    "Update the affected subversion package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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:"2019/07/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/07/25");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:mod_dav_svn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:subversion");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:subversion-libs");
      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) 2019-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 !~ "^(8)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP8");
    
    uvp = get_kb_item("Host/EulerOS/uvp_version");
    if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP8", "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 ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu);
    
    flag = 0;
    
    pkgs = ["mod_dav_svn-1.10.2-1.h1.eulerosv2r8",
            "subversion-1.10.2-1.h1.eulerosv2r8",
            "subversion-libs-1.10.2-1.h1.eulerosv2r8"];
    
    foreach (pkg in pkgs)
      if (rpm_check(release:"EulerOS-2.0", sp:"8", 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, "subversion");
    }
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-3869-1.NASL
    descriptionIvan Zhakov discovered that Subversion incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2019-01-25
    plugin id121382
    published2019-01-25
    reporterUbuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121382
    titleUbuntu 18.10 : subversion vulnerability (USN-3869-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-3869-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(121382);
      script_version("1.6");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/20");
    
      script_cve_id("CVE-2018-11803");
      script_xref(name:"USN", value:"3869-1");
    
      script_name(english:"Ubuntu 18.10 : subversion vulnerability (USN-3869-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Ivan Zhakov discovered that Subversion incorrectly handled certain
    inputs. An attacker could possibly use this issue to cause a denial of
    service.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu security advisory. 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://usn.ubuntu.com/3869-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Update the affected libapache2-mod-svn, libsvn1 and / or subversion
    packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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:canonical:ubuntu_linux:libapache2-mod-svn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libsvn1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:subversion");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:18.10");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/02/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/01/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/25");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(18\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 18.10", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) 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, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"18.10", pkgname:"libapache2-mod-svn", pkgver:"1.10.0-2ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"18.10", pkgname:"libsvn1", pkgver:"1.10.0-2ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"18.10", pkgname:"subversion", pkgver:"1.10.0-2ubuntu2.1")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libapache2-mod-svn / libsvn1 / subversion");
    }
    
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_4AF3241D1F0C11E9B4BDD43D7EED0CE2.NASL
    descriptionSubversion project reports : Malicious SVN clients can trigger a crash in mod_dav_svn by omitting the root path from a recursive directory listing request.
    last seen2020-06-01
    modified2020-06-02
    plugin id121335
    published2019-01-24
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121335
    titleFreeBSD : www/mod_dav_svn -- Malicious SVN clients can crash mod_dav_svn. (4af3241d-1f0c-11e9-b4bd-d43d7eed0ce2)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2019 Jacques Vidrine and contributors
    #
    # Redistribution and use in source (VuXML) and 'compiled' forms (SGML,
    # HTML, PDF, PostScript, RTF and so forth) with or without modification,
    # are permitted provided that the following conditions are met:
    # 1. Redistributions of source code (VuXML) must retain the above
    #    copyright notice, this list of conditions and the following
    #    disclaimer as the first lines of this file unmodified.
    # 2. Redistributions in compiled form (transformed to other DTDs,
    #    published online in any format, converted to PDF, PostScript,
    #    RTF and other formats) must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer
    #    in the documentation and/or other materials provided with the
    #    distribution.
    # 
    # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
    # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
    # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
    # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(121335);
      script_version("1.3");
      script_cvs_date("Date: 2019/05/30 16:25:06");
    
    
      script_name(english:"FreeBSD : www/mod_dav_svn -- Malicious SVN clients can crash mod_dav_svn. (4af3241d-1f0c-11e9-b4bd-d43d7eed0ce2)");
      script_summary(english:"Checks for updated packages in pkg_info output");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote FreeBSD host is missing one or more security-related
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Subversion project reports :
    
    Malicious SVN clients can trigger a crash in mod_dav_svn by omitting
    the root path from a recursive directory listing request."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://subversion.apache.org/security/CVE-2018-11803-advisory.txt"
      );
      # https://vuxml.freebsd.org/freebsd/4af3241d-1f0c-11e9-b4bd-d43d7eed0ce2.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?b9a032a3"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_attribute(attribute:"risk_factor", value:"High");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:mod_dav_svn");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/01/23");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/01/23");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/24");
      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:"FreeBSD Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("freebsd_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD");
    if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (pkg_test(save_report:TRUE, pkg:"mod_dav_svn>=1.10.0<1.10.3")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"mod_dav_svn=1.11.0")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-153.NASL
    descriptionThis update for subversion fixes the following issues : Security issue fixed : - CVE-2018-11803: Fixed a vulnerability that allowed malicious SVN clients to trigger a crash in mod_dav_svn by omitting the root path from a recursive directory listing request (bsc#1122842) This update was imported from the SUSE:SLE-15:Update update project.
    last seen2020-06-01
    modified2020-06-02
    plugin id122089
    published2019-02-11
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/122089
    titleopenSUSE Security Update : subversion (openSUSE-2019-153)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2019-153.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(122089);
      script_version("1.4");
      script_cvs_date("Date: 2020/02/12");
    
      script_cve_id("CVE-2018-11803");
    
      script_name(english:"openSUSE Security Update : subversion (openSUSE-2019-153)");
      script_summary(english:"Check for the openSUSE-2019-153 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for subversion fixes the following issues :
    
    Security issue fixed :
    
      - CVE-2018-11803: Fixed a vulnerability that allowed
        malicious SVN clients to trigger a crash in mod_dav_svn
        by omitting the root path from a recursive directory
        listing request (bsc#1122842)
    
    This update was imported from the SUSE:SLE-15:Update update project."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1122842"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected subversion packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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:novell:opensuse:libsvn_auth_gnome_keyring-1-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsvn_auth_gnome_keyring-1-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsvn_auth_kwallet-1-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsvn_auth_kwallet-1-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-bash-completion");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-perl-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-python-ctypes");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-python-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-ruby");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-ruby-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-server");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-server-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:subversion-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/02/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/03/23");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/02/11");
      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-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE15\.0)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.0", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE15.0", reference:"libsvn_auth_gnome_keyring-1-0-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"libsvn_auth_kwallet-1-0-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"libsvn_auth_kwallet-1-0-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-bash-completion-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-debugsource-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-devel-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-perl-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-perl-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-python-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-python-ctypes-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-python-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-ruby-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-ruby-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-server-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-server-debuginfo-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-tools-1.10.0-lp150.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"subversion-tools-debuginfo-1.10.0-lp150.2.3.1") ) 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, "libsvn_auth_gnome_keyring-1-0 / etc");
    }
    
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2019-3_0-0035_SUBVERSION.NASL
    descriptionAn update of the subversion package has been released.
    last seen2020-06-01
    modified2020-06-02
    plugin id130104
    published2019-10-22
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130104
    titlePhoton OS 3.0: Subversion PHSA-2019-3.0-0035
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from VMware Security Advisory PHSA-2019-3.0-0035. The text
    # itself is copyright (C) VMware, Inc.
    
    include("compat.inc");
    
    if (description)
    {
      script_id(130104);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/17");
    
      script_cve_id("CVE-2018-11782", "CVE-2018-11803", "CVE-2019-0203");
    
      script_name(english:"Photon OS 3.0: Subversion PHSA-2019-3.0-0035");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote PhotonOS host is missing multiple security updates.");
      script_set_attribute(attribute:"description", value:
    "An update of the subversion package has been released.");
      script_set_attribute(attribute:"see_also", value:"https://github.com/vmware/photon/wiki/Security-Updates-3.0-0035.md");
      script_set_attribute(attribute:"solution", value:
    "Update the affected Linux packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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-0203");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/02/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/10/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/10/22");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:vmware:photonos:subversion");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:photonos:3.0");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"PhotonOS Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/PhotonOS/release", "Host/PhotonOS/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/PhotonOS/release");
    if (isnull(release) || release !~ "^VMware Photon") audit(AUDIT_OS_NOT, "PhotonOS");
    if (release !~ "^VMware Photon (?:Linux|OS) 3\.0(\D|$)") audit(AUDIT_OS_NOT, "PhotonOS 3.0");
    
    if (!get_kb_item("Host/PhotonOS/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, "PhotonOS", cpu);
    
    flag = 0;
    
    if (rpm_check(release:"PhotonOS-3.0", reference:"subversion-1.10.2-5.ph3")) flag++;
    if (rpm_check(release:"PhotonOS-3.0", reference:"subversion-debuginfo-1.10.2-5.ph3")) flag++;
    if (rpm_check(release:"PhotonOS-3.0", reference:"subversion-devel-1.10.2-5.ph3")) flag++;
    if (rpm_check(release:"PhotonOS-3.0", reference:"subversion-perl-1.10.2-5.ph3")) 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, "subversion");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2019-0195-1.NASL
    descriptionThis update for subversion fixes the following issues : Security issue fixed : CVE-2018-11803: Fixed a vulnerability that allowed malicious SVN clients to trigger a crash in mod_dav_svn by omitting the root path from a recursive directory listing request (bsc#1122842) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2019-01-30
    plugin id121465
    published2019-01-30
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121465
    titleSUSE SLED15 / SLES15 Security Update : subversion (SUSE-SU-2019:0195-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2019:0195-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(121465);
      script_version("1.6");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/20");
    
      script_cve_id("CVE-2018-11803");
    
      script_name(english:"SUSE SLED15 / SLES15 Security Update : subversion (SUSE-SU-2019:0195-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for subversion fixes the following issues :
    
    Security issue fixed :
    
    CVE-2018-11803: Fixed a vulnerability that allowed malicious SVN
    clients to trigger a crash in mod_dav_svn by omitting the root path
    from a recursive directory listing request (bsc#1122842)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. 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://bugzilla.suse.com/show_bug.cgi?id=1122842"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2018-11803/"
      );
      # https://www.suse.com/support/update/announcement/2019/suse-su-20190195-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?01dd4fff"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use the SUSE recommended
    installation methods like YaST online_update or 'zypper patch'.
    
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Module for Server Applications 15:zypper in -t
    patch SUSE-SLE-Module-Server-Applications-15-2019-195=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15:zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-2019-195=1
    
    SUSE Linux Enterprise Module for Development Tools 15:zypper in -t
    patch SUSE-SLE-Module-Development-Tools-15-2019-195=1
    
    SUSE Linux Enterprise Module for Basesystem 15:zypper in -t patch
    SUSE-SLE-Module-Basesystem-15-2019-195=1"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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:novell:suse_linux:libsvn_auth_gnome_keyring-1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libsvn_auth_gnome_keyring-1-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-perl-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-python-ctypes");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-python-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-ruby");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-ruby-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-server");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-server-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:subversion-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/02/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/01/29");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/30");
      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-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED15|SLES15)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED15 / SLES15", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES15" && (! preg(pattern:"^(0)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0", os_ver + " SP" + sp);
    if (os_ver == "SLED15" && (! preg(pattern:"^(0)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP0", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-server-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-server-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-ctypes-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-ruby-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-ruby-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-perl-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-perl-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-tools-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-tools-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-devel-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-ctypes-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-ruby-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-ruby-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-perl-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-perl-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-tools-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-tools-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.0-3.3.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-devel-1.10.0-3.3.1")) 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, "subversion");
    }
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201904-08.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201904-08 (Subversion: Denial of Service) A vulnerability was discovered in Subversion&rsquo;s mod_dav_svn, that could lead to a Denial of Service Condition. Impact : An attacker could cause a possible enial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id123582
    published2019-04-02
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/123582
    titleGLSA-201904-08 : Subversion: Denial of Service
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Gentoo Linux Security Advisory GLSA 201904-08.
    #
    # The advisory text is Copyright (C) 2001-2020 Gentoo Foundation, Inc.
    # and licensed under the Creative Commons - Attribution / Share Alike 
    # license. See http://creativecommons.org/licenses/by-sa/3.0/
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(123582);
      script_version("1.4");
      script_cvs_date("Date: 2020/01/27");
    
      script_cve_id("CVE-2018-11803");
      script_xref(name:"GLSA", value:"201904-08");
    
      script_name(english:"GLSA-201904-08 : Subversion: Denial of Service");
      script_summary(english:"Checks for updated package(s) in /var/db/pkg");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Gentoo host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is affected by the vulnerability described in GLSA-201904-08
    (Subversion: Denial of Service)
    
        A vulnerability was discovered in Subversion&rsquo;s mod_dav_svn, that could
          lead to a Denial of Service Condition.
      
    Impact :
    
        An attacker could cause a possible enial of Service condition.
      
    Workaround :
    
        There is no known workaround at this time."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security.gentoo.org/glsa/201904-08"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "All Subversion users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=dev-vcs/subversion-1.10.4'"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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:gentoo:linux:subversion");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/02/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/04/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/04/02");
      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-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Gentoo Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("qpkg.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
    if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (qpkg_check(package:"dev-vcs/subversion", unaffected:make_list("ge 1.10.4"), vulnerable:make_list("lt 1.10.4"))) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = qpkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Subversion");
    }
    
  • NASL familyWindows
    NASL idSUBVERSION_1_11_1.NASL
    descriptionThe installed version of Subversion Server is 1.10.x prior to 1.10.4 or 1.11.x prior to 1.11.1 and is, therefore, affected by a denial of service (DoS) vulnerability. A flaw exists in the implementation of mod_dav_svn due to failing to validate the root path of the directory listing provided by the client. An unauthenticated, remote attacker can exploit this issue, to cause the process to stop responding.
    last seen2020-06-01
    modified2020-06-02
    plugin id125387
    published2019-05-24
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/125387
    titleApache Subversion 1.10.x < 1.10.4 / 1.11.x < 1.11.1 mod_dav_svn DoS
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(125387);
      script_version("1.3");
      script_cvs_date("Date: 2019/10/30 13:24:47");
    
      script_cve_id("CVE-2018-11803");
      script_bugtraq_id(106770);
    
      script_name(english:"Apache Subversion 1.10.x < 1.10.4 / 1.11.x < 1.11.1 mod_dav_svn DoS");
      script_summary(english:"Checks Subversion Server version.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application that is affected by a denial of service vulnerability.");
      script_set_attribute(attribute:"description", value:
    "The installed version of Subversion Server is 1.10.x prior to 1.10.4 or 1.11.x prior to 1.11.1 and is, therefore,
    affected by a denial of service (DoS) vulnerability. A flaw exists in the implementation of mod_dav_svn due to failing
    to validate the root path of the directory listing provided by the client. An unauthenticated, remote attacker can
    exploit this issue, to cause the process to stop responding.");
      script_set_attribute(attribute:"see_also", value:"https://subversion.apache.org/security/CVE-2018-11803-advisory.txt");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Subversion Server 1.10.4, 1.11.1 or later, or apply the vendor-supplied patch or workaround.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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:N/S:U/C:N/I:N/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-2018-11803");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/01/11");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/01/11");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/05/24");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:apache:subversion");
      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:"Windows");
    
      script_dependencies("subversion_installed.nasl");
      script_require_keys("installed_sw/Subversion Server", "Settings/ParanoidReport");
    
      exit(0);
    }
    
    include("vcf.inc");
    include("vcf_extras.inc");
    
    app_info = vcf::get_app_info(app:"Subversion Server");
    
    if (report_paranoia < 2) audit(AUDIT_PARANOID);
    
    constraints = [
      { "min_version" : "1.10.0", "fixed_version" : "1.10.4" },
      { "min_version" : "1.11.0", "fixed_version" : "1.11.1" }
    ];
    
    vcf::apache_subversion::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);