Vulnerabilities > CVE-2018-11782 - Improper Input Validation vulnerability in Apache Subversion

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

Summary

In Apache Subversion versions up to and including 1.9.10, 1.10.4, 1.12.0, Subversion's svnserve server process may exit when a well-formed read-only request produces a particular answer. This can lead to disruption for users of the server.

Vulnerable Configurations

Part Description Count
Application
Apache
176

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-4490.NASL
    descriptionSeveral vulnerabilities were discovered in Subversion, a version control system. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2018-11782 Ace Olszowka reported that the Subversion
    last seen2020-06-01
    modified2020-06-02
    plugin id127486
    published2019-08-12
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127486
    titleDebian DSA-4490-1 : subversion - security update
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-4490. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(127486);
      script_version("1.4");
      script_cvs_date("Date: 2020/01/06");
    
      script_cve_id("CVE-2018-11782", "CVE-2019-0203");
      script_xref(name:"DSA", value:"4490");
    
      script_name(english:"Debian DSA-4490-1 : subversion - security update");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Several vulnerabilities were discovered in Subversion, a version
    control system. The Common Vulnerabilities and Exposures project
    identifies the following problems :
    
      - CVE-2018-11782
        Ace Olszowka reported that the Subversion's svnserve
        server process may exit when a well-formed read-only
        request produces a particular answer, leading to a
        denial of service.
    
      - CVE-2019-0203
        Tomas Bortoli reported that the Subversion's svnserve
        server process may exit when a client sends certain
        sequences of protocol commands. If the server is
        configured with anonymous access enabled this could lead
        to a remote unauthenticated denial of service."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2018-11782"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2019-0203"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/source-package/subversion"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/stretch/subversion"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/buster/subversion"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2019/dsa-4490"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the subversion packages.
    
    For the oldstable distribution (stretch), these problems have been
    fixed in version 1.9.5-1+deb9u4.
    
    For the stable distribution (buster), these problems have been fixed
    in version 1.10.4-1+deb10u1."
      );
      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:debian:debian_linux:subversion");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:10.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:9.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/08/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/12");
      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:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"10.0", prefix:"libapache2-mod-svn", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"libsvn-dev", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"libsvn-doc", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"libsvn-java", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"libsvn-perl", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"libsvn1", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"python-subversion", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"ruby-svn", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"subversion", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"10.0", prefix:"subversion-tools", reference:"1.10.4-1+deb10u1")) flag++;
    if (deb_check(release:"9.0", prefix:"libapache2-mod-svn", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"libsvn-dev", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"libsvn-doc", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"libsvn-java", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"libsvn-perl", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"libsvn1", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"python-subversion", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"ruby-svn", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"subversion", reference:"1.9.5-1+deb9u4")) flag++;
    if (deb_check(release:"9.0", prefix:"subversion-tools", reference:"1.9.5-1+deb9u4")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-F6BC68E455.NASL
    descriptionThis update includes the latest stable release of _Apache Subversion_, version **1.12.2**. This update addresses two security vulnerabilities in **svnserve**, `CVE-2018-11782` and `CVE-2019-0203`. For more information, see : http://subversion.apache.org/security/CVE-2018-11782-advisory.txt http://subversion.apache.org/security/CVE-2019-0203-advisory.txt ## User-visible changes : - Fix conflict resolver bug: local and incoming edits swapped. - Fix memory lifetime problem in a libsvn_wc error code path. 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.
    last seen2020-06-01
    modified2020-06-02
    plugin id127538
    published2019-08-12
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127538
    titleFedora 30 : subversion (2019-f6bc68e455)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory FEDORA-2019-f6bc68e455.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(127538);
      script_version("1.5");
      script_cvs_date("Date: 2020/01/06");
    
      script_cve_id("CVE-2018-11782", "CVE-2019-0203");
      script_xref(name:"FEDORA", value:"2019-f6bc68e455");
    
      script_name(english:"Fedora 30 : subversion (2019-f6bc68e455)");
      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:
    "This update includes the latest stable release of _Apache Subversion_,
    version **1.12.2**. This update addresses two security vulnerabilities
    in **svnserve**, `CVE-2018-11782` and `CVE-2019-0203`. For more
    information, see :
    
    http://subversion.apache.org/security/CVE-2018-11782-advisory.txt
    http://subversion.apache.org/security/CVE-2019-0203-advisory.txt
    
    ## User-visible changes :
    
      - Fix conflict resolver bug: local and incoming edits
        swapped. 
    
      - Fix memory lifetime problem in a libsvn_wc error code
        path.
    
    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-f6bc68e455"
      );
      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:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:subversion");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:30");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/08/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/12");
      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:"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:"subversion-1.12.2-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, "subversion");
    }
    
  • 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 familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2019-1317.NASL
    descriptionIn Apache Subversion versions up to and including 1.9.10, 1.10.4, 1.12.0, Subversion
    last seen2020-06-01
    modified2020-06-02
    plugin id130610
    published2019-11-07
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130610
    titleAmazon Linux AMI : subversion (ALAS-2019-1317)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Amazon Linux AMI Security Advisory ALAS-2019-1317.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(130610);
      script_version("1.3");
      script_cvs_date("Date: 2019/12/17");
    
      script_cve_id("CVE-2018-11782", "CVE-2019-0203");
      script_xref(name:"ALAS", value:"2019-1317");
    
      script_name(english:"Amazon Linux AMI : subversion (ALAS-2019-1317)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Amazon Linux AMI host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "In Apache Subversion versions up to and including 1.9.10, 1.10.4,
    1.12.0, Subversion's svnserve server process may exit when a
    well-formed read-only request produces a particular answer. This can
    lead to disruption for users of the server.(CVE-2018-11782)
    
    In Apache Subversion versions up to and including 1.9.10, 1.10.4,
    1.12.0, Subversion's svnserve server process may exit when a client
    sends certain sequences of protocol commands. This can lead to
    disruption for users of the server.(CVE-2019-0203)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://alas.aws.amazon.com/ALAS-2019-1317.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Run 'yum update subversion' to update your system."
      );
      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:amazon:linux:mod24_dav_svn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-javahl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-libs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-python26");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-python27");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-ruby");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:subversion-tools");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:amazon:linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/07");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/07");
      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:"Amazon Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/AmazonLinux/release", "Host/AmazonLinux/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/AmazonLinux/release");
    if (isnull(release) || !strlen(release)) audit(AUDIT_OS_NOT, "Amazon Linux");
    os_ver = pregmatch(pattern: "^AL(A|\d)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Amazon Linux");
    os_ver = os_ver[1];
    if (os_ver != "A")
    {
      if (os_ver == 'A') os_ver = 'AMI';
      audit(AUDIT_OS_NOT, "Amazon Linux AMI", "Amazon Linux " + os_ver);
    }
    
    if (!get_kb_item("Host/AmazonLinux/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (rpm_check(release:"ALA", reference:"mod24_dav_svn-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-debuginfo-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-devel-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-javahl-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-libs-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-perl-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-python26-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-python27-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-ruby-1.9.7-1.60.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"subversion-tools-1.9.7-1.60.amzn1")) 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, "mod24_dav_svn / subversion / subversion-debuginfo / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2019-2031-1.NASL
    descriptionThis update for subversion to version 1.10.6 fixes the following issues : Security issues fixed : CVE-2018-11782: Fixed a remote denial of service in svnserve
    last seen2020-06-01
    modified2020-06-02
    plugin id127760
    published2019-08-12
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127760
    titleSUSE SLED15 / SLES15 Security Update : subversion (SUSE-SU-2019:2031-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:2031-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(127760);
      script_version("1.5");
      script_cvs_date("Date: 2020/01/06");
    
      script_cve_id("CVE-2018-11782", "CVE-2019-0203");
    
      script_name(english:"SUSE SLED15 / SLES15 Security Update : subversion (SUSE-SU-2019:2031-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 to version 1.10.6 fixes the following
    issues :
    
    Security issues fixed :
    
    CVE-2018-11782: Fixed a remote denial of service in svnserve
    'get-deleted-rev' (bsc#1142743).
    
    CVE-2019-0203: Fixed a remote, unauthenticated denial of service in
    svnserve (bsc#1142721).
    
    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=1142721"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=1142743"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2018-11782/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2019-0203/"
      );
      # https://www.suse.com/support/update/announcement/2019/suse-su-20192031-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?277a40da"
      );
      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-SP1:zypper in
    -t patch SUSE-SLE-Module-Server-Applications-15-SP1-2019-2031=1
    
    SUSE Linux Enterprise Module for Server Applications 15:zypper in -t
    patch SUSE-SLE-Module-Server-Applications-15-2019-2031=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15-SP1:zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2019-2031=1
    
    SUSE Linux Enterprise Module for Open Buildservice Development Tools
    15:zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-2019-2031=1
    
    SUSE Linux Enterprise Module for Development Tools 15-SP1:zypper in -t
    patch SUSE-SLE-Module-Development-Tools-15-SP1-2019-2031=1
    
    SUSE Linux Enterprise Module for Development Tools 15:zypper in -t
    patch SUSE-SLE-Module-Development-Tools-15-2019-2031=1
    
    SUSE Linux Enterprise Module for Basesystem 15-SP1:zypper in -t patch
    SUSE-SLE-Module-Basesystem-15-SP1-2019-2031=1
    
    SUSE Linux Enterprise Module for Basesystem 15:zypper in -t patch
    SUSE-SLE-Module-Basesystem-15-2019-2031=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/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/07/31");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/12");
      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|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0/1", os_ver + " SP" + sp);
    if (os_ver == "SLED15" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP0/1", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-server-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-server-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libsvn_auth_gnome_keyring-1-0-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-python-ctypes-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-ruby-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-ruby-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-perl-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-perl-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-python-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-python-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-tools-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-tools-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"subversion-devel-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-server-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-server-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-ctypes-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-ruby-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-ruby-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-perl-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-perl-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-python-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-tools-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-tools-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLES15", sp:"0", reference:"subversion-devel-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libsvn_auth_gnome_keyring-1-0-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-python-ctypes-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-ruby-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-ruby-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-perl-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-perl-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-python-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-python-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-tools-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-tools-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"subversion-devel-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"libsvn_auth_gnome_keyring-1-0-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-ctypes-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-ruby-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-ruby-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-perl-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-perl-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-python-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-tools-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-tools-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debuginfo-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-debugsource-1.10.6-3.6.2")) flag++;
    if (rpm_check(release:"SLED15", sp:"0", reference:"subversion-devel-1.10.6-3.6.2")) 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 familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2019-2_0-0182_SUBVERSION.NASL
    descriptionAn update of the subversion package has been released.
    last seen2020-06-01
    modified2020-06-02
    plugin id130117
    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/130117
    titlePhoton OS 2.0: Subversion PHSA-2019-2.0-0182
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from VMware Security Advisory PHSA-2019-2.0-0182. The text
    # itself is copyright (C) VMware, Inc.
    
    include("compat.inc");
    
    if (description)
    {
      script_id(130117);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/17");
    
      script_cve_id("CVE-2018-11782", "CVE-2019-0203");
    
      script_name(english:"Photon OS 2.0: Subversion PHSA-2019-2.0-0182");
    
      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-2-182.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/09/26");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/10/15");
      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:2.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) 2\.0(\D|$)") audit(AUDIT_OS_NOT, "PhotonOS 2.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-2.0", reference:"subversion-1.9.7-3.ph2")) flag++;
    if (rpm_check(release:"PhotonOS-2.0", reference:"subversion-debuginfo-1.9.7-3.ph2")) flag++;
    if (rpm_check(release:"PhotonOS-2.0", reference:"subversion-devel-1.9.7-3.ph2")) 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-4082-1.NASL
    descriptionAce Olszowka discovered that Subversion incorrectly handled certain svnserve requests. A remote attacker could possibly use this issue to cause svnserver to crash, resulting in a denial of service. (CVE-2018-11782) Tomas Bortoli discovered that Subversion incorrectly handled certain svnserve requests. A remote attacker could possibly use this issue to cause svnserver to crash, resulting in a denial of service. (CVE-2019-0203). 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-06-01
    modified2020-06-02
    plugin id127799
    published2019-08-12
    reporterUbuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127799
    titleUbuntu 16.04 LTS : subversion vulnerabilities (USN-4082-1)
  • NASL familyWindows
    NASL idSUBVERSION_1_12_1.NASL
    descriptionThe installed version of Subversion Server is prior to 1.9.11, 1.10.x prior to 1.10.5, 1.11.x or 1.12.x prior to 1.12.1 and is, therefore, affected by multiple vulnerabilities: - A denial of service (DoS) vulnerability exists in Subversion
    last seen2020-06-01
    modified2020-06-02
    plugin id127137
    published2019-08-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127137
    titleApache Subversion < 1.9.11 / 1.10.x < 1.10.5 / 1.11.x / 1.12.x < 1.12.1 Multiple Vulnerabilities
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-1903.NASL
    descriptionSeveral vulnerabilities were discovered in Subversion, a version control system. The Common Vulnerabilities and Exposures project identifies the following problems : CVE-2018-11782 Ace Olszowka reported that the Subversion
    last seen2020-06-01
    modified2020-06-02
    plugin id128395
    published2019-08-30
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/128395
    titleDebian DLA-1903-1 : subversion security update
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-1910.NASL
    descriptionThis update for subversion to version 1.10.6 fixes the following issues : Security issues fixed : - CVE-2018-11782: Fixed a remote denial of service in svnserve
    last seen2020-06-01
    modified2020-06-02
    plugin id128002
    published2019-08-20
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/128002
    titleopenSUSE Security Update : subversion (openSUSE-2019-1910)