Vulnerabilities > CVE-2020-1770 - Information Exposure vulnerability in multiple products

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
LOW
Integrity impact
NONE
Availability impact
NONE
network
low complexity
otrs
opensuse
debian
CWE-200
nessus

Summary

Support bundle generated files could contain sensitive information that might be unwanted to be disclosed. This issue affects: ((OTRS)) Community Edition: 5.0.41 and prior versions, 6.0.26 and prior versions. OTRS: 7.0.15 and prior versions.

Vulnerable Configurations

Part Description Count
Application
Otrs
95
Application
Opensuse
3
OS
Opensuse
2
OS
Debian
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2020-551.NASL
    descriptionOtrs was updated to 5.0.42, fixing lots of bugs and security issues : https://community.otrs.com/otrs-community-edition-5s-patch-level-42/ - CVE-2020-1773 boo#1168029 OSA-2020-10 : - Session / Password / Password token leak An attacker with the ability to generate session IDs or password reset tokens, either by being able to authenticate or by exploiting OSA-2020-09, may be able to predict other users session IDs, password reset tokens and automatically generated passwords. - CVE-2020-1772 boo#1168029 OSA-2020-09 : - Information Disclosure It’s possible to craft Lost Password requests with wildcards in the Token value, which allows attacker to retrieve valid Token(s), generated by users which already requested new passwords. - CVE-2020-1771 boo#1168030 OSA-2020-08 : - Possible XSS in Customer user address book Attacker is able craft an article with a link to the customer address book with malicious content (JavaScript). When agent opens the link, JavaScript code is executed due to the missing parameter encoding. - CVE-2020-1770 boo#1168031 OSA-2020-07 : - Information disclosure in support bundle files Support bundle generated files could contain sensitive information that might be unwanted to be disclosed. - CVE-2020-1769 boo#1168032 OSA-2020-06 : - Autocomplete in the form login screens In the login screens (in agent and customer interface), Username and Password fields use autocomplete, which might be considered as security issue. Update to 5.0.41 https://community.otrs.com/otrs-community-edition-5s-patch-level-41/ - bug#14912 - Installer refers to non-existing documentation - added code to upgrade OTRS from 4 to 5 READ UPGRADING.SUSE - steps 1 to 4 are done by rpm pkg - steps 5 to *END* need to be done manually cause of DB backup Update to 5.0.40 https://community.otrs.com/otrs-community-edition-5s-patch-level-40/ - CVE-2020-1766 boo#1160663 OSA-2020-02: Improper handling of uploaded inline images Due to improper handling of uploaded images it is possible in very unlikely and rare conditions to force the agents browser to execute malicious JavaScript from a special crafted SVG file rendered as inline jpg file. - CVE-2020-1765, OSA-2020-01: Spoofing of From field in several screens An improper control of parameters allows the spoofing of the from fields of the following screens: AgentTicketCompose, AgentTicketForward, AgentTicketBounce and AgentTicketEmailOutbound - run bin/otrs.Console.pl Maint::Config::Rebuild after the upgrade - Update 5.0.39 https://community.otrs.com/otrs-community-edition-5s-pat ch-level-39/ - CVE-2019-18180 boo#1157001 OSA-2019-15: Denial of service OTRS can be put into an endless loop by providing filenames with overly long extensions. This applies to the PostMaster (sending in email) and also upload (attaching files to mails, for example). - CVE-2019-18179 OSA-2019-14: Information Disclosure An attacker who is logged into OTRS as an agent is able to list tickets assigned to other agents, which are in the queue where attacker doesn’t have permissions. Update to 5.0.38 https://community.otrs.com/release-notes-otrs-5s-patch-level-38/ - CVE-2019-16375, boo#1156431 OSA-2019-13: Stored XXS An attacker who is logged into OTRS as an agent or customer user with appropriate permissions can create a carefully crafted string containing malicious JavaScript code as an article body. This malicious code is executed when an agent compose an answer to the original article. Update to 5.0.37 https://community.otrs.com/release-notes-otrs-5s-patch-level-37/ - CVE-2019-13458, boo#1141432, OSA-2019-12 : Information Disclosure An attacker who is logged into OTRS as an agent user with appropriate permissions can leverage OTRS tags in templates in order to disclose hashed user passwords. - CVE-2019-13457, boo#1141431, OSA-2019-11 : Information Disclosure A customer user can use the search results to disclose information from their “company” tickets (with the same CustomerID), even when CustomerDisableCompanyTicketAccess setting is turned on. - CVE-2019-12746, boo#1141430, OSA-2019-10 : Session ID Disclosure A user logged into OTRS as an agent might unknowingly disclose their session ID by sharing the link of an embedded ticket article with third parties. This identifier can be then potentially abused in order to impersonate the agent user. Update to 5.0.36 https://community.otrs.com/release-notes-otrs-5s-patch-level-36/ - CVE-2019-12497, boo#1137614, OSA-2019-09: Information Disclosure In the customer or external frontend, personal information of agents can be disclosed like Name and mail address in external notes. - CVE-2019-12248, boo#1137615, OSA-2019-08: Loading External Image Resources An attacker could send a malicious email to an OTRS system. If a logged in agent user quotes it, the email could cause the browser to load external image resources. Update to 5.0.35 https://community.otrs.com/release-notes-otrs-5s-patch-level-35/ - CVE-2019-10067, boo#1139406, OSA-2019-05 : Reflected and Stored XSS An attacker who is logged into OTRS as an agent user with appropriate permissions may manipulate the URL to cause execution of JavaScript in the context of OTRS. - CVE-2019-9892, boo#1139406, OSA-2019-04 : XXE Processing An attacker who is logged into OTRS as an agent user with appropriate permissions may try to import carefully crafted Report Statistics XML that will result in reading of arbitrary files of OTRS filesystem. - update missing CVE for OSA-2018-10, OSA-2019-01 Update to 5.0.34 - https://community.otrs.com/release-notes-otrs-5s-patch-level-34/ - CVE-2019-9752, boo#1122560, OSA-2019-01: Stored XSS An attacker who is logged into OTRS as an agent or a customer user may upload a carefully crafted resource in order to cause execution of JavaScript in the context of OTRS. Update to 5.0.33 - https://community.otrs.com/release-notes-otrs-5s-patch-level-33/ Update to 5.0.26 - https://www.otrs.com/release-notes-otrs-5s-patch-level-26 - https://www.otrs.com/release-notes-otrsitsm-module-5s-patch-level-26/ - remove obsolete - otrs-scheduler.service - otrs-scheduler.init
    last seen2020-05-03
    modified2020-04-28
    plugin id136023
    published2020-04-28
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136023
    titleopenSUSE Security Update : otrs (openSUSE-2020-551)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2020-551.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(136023);
      script_version("1.2");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/30");
    
      script_cve_id("CVE-2019-10067", "CVE-2019-12248", "CVE-2019-12497", "CVE-2019-12746", "CVE-2019-13457", "CVE-2019-13458", "CVE-2019-16375", "CVE-2019-18179", "CVE-2019-18180", "CVE-2019-9752", "CVE-2019-9892", "CVE-2020-1765", "CVE-2020-1766", "CVE-2020-1769", "CVE-2020-1770", "CVE-2020-1771", "CVE-2020-1772", "CVE-2020-1773");
    
      script_name(english:"openSUSE Security Update : otrs (openSUSE-2020-551)");
      script_summary(english:"Check for the openSUSE-2020-551 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Otrs was updated to 5.0.42, fixing lots of bugs and security issues :
    
    https://community.otrs.com/otrs-community-edition-5s-patch-level-42/
    
      - CVE-2020-1773 boo#1168029 OSA-2020-10 :
    
      - Session / Password / Password token leak An attacker
        with the ability to generate session IDs or password
        reset tokens, either by being able to authenticate or by
        exploiting OSA-2020-09, may be able to predict other
        users session IDs, password reset tokens and
        automatically generated passwords.
    
      - CVE-2020-1772 boo#1168029 OSA-2020-09 :
    
      - Information Disclosure It’s possible to craft Lost
        Password requests with wildcards in the Token value,
        which allows attacker to retrieve valid Token(s),
        generated by users which already requested new
        passwords.
    
      - CVE-2020-1771 boo#1168030 OSA-2020-08 :
    
      - Possible XSS in Customer user address book Attacker is
        able craft an article with a link to the customer
        address book with malicious content (JavaScript). When
        agent opens the link, JavaScript code is executed due to
        the missing parameter encoding.
    
      - CVE-2020-1770 boo#1168031 OSA-2020-07 :
    
      - Information disclosure in support bundle files Support
        bundle generated files could contain sensitive
        information that might be unwanted to be disclosed.
    
      - CVE-2020-1769 boo#1168032 OSA-2020-06 :
    
      - Autocomplete in the form login screens In the login
        screens (in agent and customer interface), Username and
        Password fields use autocomplete, which might be
        considered as security issue.
    
    Update to 5.0.41
    https://community.otrs.com/otrs-community-edition-5s-patch-level-41/
    
      - bug#14912 - Installer refers to non-existing
        documentation
    
      - added code to upgrade OTRS from 4 to 5
    
        READ UPGRADING.SUSE
    
      - steps 1 to 4 are done by rpm pkg
    
      - steps 5 to *END* need to be done manually cause of DB
        backup
    
    Update to 5.0.40
    
    https://community.otrs.com/otrs-community-edition-5s-patch-level-40/
    
      - CVE-2020-1766 boo#1160663 OSA-2020-02: Improper handling
        of uploaded inline images Due to improper handling of
        uploaded images it is possible in very unlikely and rare
        conditions to force the agents browser to execute
        malicious JavaScript from a special crafted SVG file
        rendered as inline jpg file.
    
      - CVE-2020-1765, OSA-2020-01: Spoofing of From field in
        several screens An improper control of parameters allows
        the spoofing of the from fields of the following
        screens: AgentTicketCompose, AgentTicketForward,
        AgentTicketBounce and AgentTicketEmailOutbound
    
      - run bin/otrs.Console.pl Maint::Config::Rebuild after the
        upgrade
    
      - Update 5.0.39
        https://community.otrs.com/otrs-community-edition-5s-pat
        ch-level-39/
    
      - CVE-2019-18180 boo#1157001 OSA-2019-15: Denial of
        service OTRS can be put into an endless loop by
        providing filenames with overly long extensions. This
        applies to the PostMaster (sending in email) and also
        upload (attaching files to mails, for example).
    
      - CVE-2019-18179 OSA-2019-14: Information Disclosure An
        attacker who is logged into OTRS as an agent is able to
        list tickets assigned to other agents, which are in the
        queue where attacker doesn’t have permissions.
    
    Update to 5.0.38
    https://community.otrs.com/release-notes-otrs-5s-patch-level-38/
    
      - CVE-2019-16375, boo#1156431 OSA-2019-13: Stored XXS An
        attacker who is logged into OTRS as an agent or customer
        user with appropriate permissions can create a carefully
        crafted string containing malicious JavaScript code as
        an article body. This malicious code is executed when an
        agent compose an answer to the original article.
    
    Update to 5.0.37
    https://community.otrs.com/release-notes-otrs-5s-patch-level-37/
    
      - CVE-2019-13458, boo#1141432, OSA-2019-12 :
    
        Information Disclosure An attacker who is logged into
        OTRS as an agent user with appropriate permissions can
        leverage OTRS tags in templates in order to disclose
        hashed user passwords.
    
      - CVE-2019-13457, boo#1141431, OSA-2019-11 :
    
        Information Disclosure A customer user can use the
        search results to disclose information from their
        “company” tickets (with the same
        CustomerID), even when
        CustomerDisableCompanyTicketAccess setting is turned on.
    
      - CVE-2019-12746, boo#1141430, OSA-2019-10 :
    
        Session ID Disclosure A user logged into OTRS as an
        agent might unknowingly disclose their session ID by
        sharing the link of an embedded ticket article with
        third parties. This identifier can be then potentially
        abused in order to impersonate the agent user.
    
    Update to 5.0.36
    
    https://community.otrs.com/release-notes-otrs-5s-patch-level-36/
    
      - CVE-2019-12497, boo#1137614, OSA-2019-09: Information
        Disclosure In the customer or external frontend,
        personal information of agents can be disclosed like
        Name and mail address in external notes.
    
      - CVE-2019-12248, boo#1137615, OSA-2019-08: Loading
        External Image Resources An attacker could send a
        malicious email to an OTRS system. If a logged in agent
        user quotes it, the email could cause the browser to
        load external image resources.
    
    Update to 5.0.35
    
    https://community.otrs.com/release-notes-otrs-5s-patch-level-35/
    
      - CVE-2019-10067, boo#1139406, OSA-2019-05 :
    
        Reflected and Stored XSS An attacker who is logged into
        OTRS as an agent user with appropriate permissions may
        manipulate the URL to cause execution of JavaScript in
        the context of OTRS.
    
      - CVE-2019-9892, boo#1139406, OSA-2019-04 :
    
        XXE Processing An attacker who is logged into OTRS as an
        agent user with appropriate permissions may try to
        import carefully crafted Report Statistics XML that will
        result in reading of arbitrary files of OTRS filesystem.
    
      - update missing CVE for OSA-2018-10, OSA-2019-01
    
    Update to 5.0.34
    
    - https://community.otrs.com/release-notes-otrs-5s-patch-level-34/
    
      - CVE-2019-9752, boo#1122560, OSA-2019-01: Stored XSS An
        attacker who is logged into OTRS as an agent or a
        customer user may upload a carefully crafted resource in
        order to cause execution of JavaScript in the context of
        OTRS.
    
    Update to 5.0.33
    
    - https://community.otrs.com/release-notes-otrs-5s-patch-level-33/
    
    Update to 5.0.26
    
    - https://www.otrs.com/release-notes-otrs-5s-patch-level-26
    
    - https://www.otrs.com/release-notes-otrsitsm-module-5s-patch-level-26/
    
      - remove obsolete
    
      - otrs-scheduler.service
    
      - otrs-scheduler.init"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1122560"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1137614"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1137615"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1139406"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1141430"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1141431"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1141432"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1156431"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1157001"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1160663"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1168029"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1168030"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1168031"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1168032"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/otrs-community-edition-5s-patch-level-39/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/otrs-community-edition-5s-patch-level-40/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/otrs-community-edition-5s-patch-level-41/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/otrs-community-edition-5s-patch-level-42/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-33/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-34/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-35/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-36/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-37/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://community.otrs.com/release-notes-otrs-5s-patch-level-38/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.otrs.com/release-notes-otrs-5s-patch-level-26"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.otrs.com/release-notes-otrsitsm-module-5s-patch-level-26/"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected otrs packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:otrs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:otrs-itsm");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.1");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/03/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/04/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/28");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "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, "openSUSE");
    if (release !~ "^(SUSE15\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.1", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE15.1", reference:"otrs-5.0.42-lp151.2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"otrs-itsm-5.0.42-lp151.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, "otrs / otrs-itsm");
    }
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-2198.NASL
    descriptionSeveral vulnerabilities have been discovered in otrs2 (Open source Ticket Request System) CVE-2020-1770 Support bundle generated files could contain sensitive information that might be unwanted to be disclosed. CVE-2020-1772 It’s possible to craft Lost Password requests with wildcards in the Token value, which allows attacker to retrieve valid Token(s), generated by users which already requested new passwords. CVE-2020-1774 When user downloads PGP or S/MIME keys/certificates, exported file has same name for private and public keys. Therefore it’s possible to mix them and to send private key to the third-party instead of public key. For Debian 8
    last seen2020-05-08
    modified2020-05-04
    plugin id136288
    published2020-05-04
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136288
    titleDebian DLA-2198-1 : otrs2 security update
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Debian Security Advisory DLA-2198-1. The text
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(136288);
      script_version("1.2");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/07");
    
      script_cve_id("CVE-2020-1770", "CVE-2020-1772", "CVE-2020-1774");
    
      script_name(english:"Debian DLA-2198-1 : otrs2 security update");
      script_summary(english:"Checks dpkg output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Several vulnerabilities have been discovered in otrs2 (Open source
    Ticket Request System)
    
    CVE-2020-1770
    
    Support bundle generated files could contain sensitive information
    that might be unwanted to be disclosed.
    
    CVE-2020-1772
    
    It’s possible to craft Lost Password requests with wildcards in
    the Token value, which allows attacker to retrieve valid Token(s),
    generated by users which already requested new passwords.
    
    CVE-2020-1774
    
    When user downloads PGP or S/MIME keys/certificates, exported file has
    same name for private and public keys. Therefore it’s possible
    to mix them and to send private key to the third-party instead of
    public key.
    
    For Debian 8 'Jessie', these problems have been fixed in version
    3.3.18-1+deb8u15.
    
    We recommend that you upgrade your otrs2 packages.
    
    NOTE: Tenable Network Security has extracted the preceding description
    block directly from the DLA 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://lists.debian.org/debian-lts-announce/2020/05/msg00000.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/jessie/otrs2"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Upgrade the affected otrs, and otrs2 packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      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:H/I:N/A:N");
      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:otrs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:otrs2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/03/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/05/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/05/04");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"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:"8.0", prefix:"otrs", reference:"3.3.18-1+deb8u15")) flag++;
    if (deb_check(release:"8.0", prefix:"otrs2", reference:"3.3.18-1+deb8u15")) 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");