Vulnerabilities > CVE-2020-1699 - Path Traversal vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
NONE
Availability impact
NONE
network
low complexity
linuxfoundation
redhat
CWE-22
nessus

Summary

A path traversal flaw was found in the Ceph dashboard implemented in upstream versions v14.2.5, v14.2.6, v15.0.0 of Ceph storage and has been fixed in versions 14.2.7 and 15.1.0. An unauthenticated attacker could use this flaw to cause information disclosure on the host machine running the Ceph dashboard.

Vulnerable Configurations

Part Description Count
Application
Linuxfoundation
3
Application
Redhat
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0296-1.NASL
    descriptionThis update for ceph fixes the following issues : CVE-2020-1700: Fixed a denial of service against the RGW server via connection leakage (bsc#1161312). CVE-2020-1699: Fixed a information disclosure by improper URL checking (bsc#1161074). 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-05-03
    modified2020-02-03
    plugin id133439
    published2020-02-03
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133439
    titleSUSE SLED15 / SLES15 Security Update : ceph (SUSE-SU-2020:0296-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2020:0296-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133439);
      script_version("1.5");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/30");
    
      script_cve_id("CVE-2020-1699", "CVE-2020-1700");
    
      script_name(english:"SUSE SLED15 / SLES15 Security Update : ceph (SUSE-SU-2020:0296-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 ceph fixes the following issues :
    
    CVE-2020-1700: Fixed a denial of service against the RGW server via
    connection leakage (bsc#1161312).
    
    CVE-2020-1699: Fixed a information disclosure by improper URL checking
    (bsc#1161074).
    
    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=1161074"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=1161312"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2020-1699/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2020-1700/"
      );
      # https://www.suse.com/support/update/announcement/2020/suse-su-20200296-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3cbd4bf0"
      );
      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 Open Buildservice Development Tools
    15-SP1 :
    
    zypper in -t patch
    SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-296=1
    
    SUSE Linux Enterprise Module for Basesystem 15-SP1 :
    
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP1-2020-296=1
    
    SUSE Enterprise Storage 6 :
    
    zypper in -t patch SUSE-Storage-6-2020-296=1"
      );
      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:"cvss_score_source", value:"CVE-2020-1699");
      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:ceph");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-base-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-common-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-fuse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-fuse-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mds");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mds-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mgr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mgr-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mon");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-mon-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-osd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-osd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-radosgw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-radosgw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-test");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-test-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ceph-test-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cephfs-shell");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcephfs-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcephfs2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcephfs2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librados-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librados-devel-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librados2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librados2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libradospp-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librbd-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librbd1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librbd1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librgw-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librgw2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:librgw2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-ceph-argparse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-cephfs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-cephfs-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rados");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rados-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rbd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rbd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rgw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:python3-rgw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rados-objclass-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-fuse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-fuse-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-mirror");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-mirror-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-nbd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:rbd-nbd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/02/07");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/01/31");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/02/03");
      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/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:"^(1)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP1", os_ver + " SP" + sp);
    if (os_ver == "SLED15" && (! preg(pattern:"^(1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED15 SP1", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"ceph-test-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"ceph-test-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", cpu:"x86_64", reference:"ceph-test-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-base-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-base-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-fuse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-fuse-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mds-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mds-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mgr-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mgr-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mon-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-mon-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-osd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-osd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-radosgw-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-radosgw-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"cephfs-shell-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-fuse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-fuse-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-mirror-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-mirror-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-nbd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rbd-nbd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-common-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-common-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"ceph-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libcephfs-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libcephfs2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libcephfs2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librados-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librados-devel-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librados2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librados2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"libradospp-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librbd-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librbd1-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librbd1-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librgw-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librgw2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"librgw2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-ceph-argparse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-cephfs-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-cephfs-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rados-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rados-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rbd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rbd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rgw-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"python3-rgw-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLES15", sp:"1", reference:"rados-objclass-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"ceph-test-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"ceph-test-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", cpu:"x86_64", reference:"ceph-test-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-base-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-base-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-fuse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-fuse-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mds-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mds-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mgr-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mgr-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mon-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-mon-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-osd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-osd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-radosgw-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-radosgw-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"cephfs-shell-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-fuse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-fuse-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-mirror-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-mirror-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-nbd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rbd-nbd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-common-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-common-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"ceph-debugsource-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libcephfs-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libcephfs2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libcephfs2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librados-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librados-devel-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librados2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librados2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"libradospp-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librbd-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librbd1-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librbd1-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librgw-devel-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librgw2-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"librgw2-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-ceph-argparse-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-cephfs-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-cephfs-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rados-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rados-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rbd-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rbd-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rgw-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"python3-rgw-debuginfo-14.2.5.382+g8881d33957-3.30.1")) flag++;
    if (rpm_check(release:"SLED15", sp:"1", reference:"rados-objclass-devel-14.2.5.382+g8881d33957-3.30.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, "ceph");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2020-187.NASL
    descriptionThis update for ceph fixes the following issues : - CVE-2020-1700: Fixed a denial of service against the RGW server via connection leakage (bsc#1161312). - CVE-2020-1699: Fixed a information disclosure by improper URL checking (bsc#1161074). This update was imported from the SUSE:SLE-15-SP1:Update update project.
    last seen2020-05-03
    modified2020-02-10
    plugin id133592
    published2020-02-10
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133592
    titleopenSUSE Security Update : ceph (openSUSE-2020-187)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2020-187.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(133592);
      script_version("1.4");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/30");
    
      script_cve_id("CVE-2020-1699", "CVE-2020-1700");
    
      script_name(english:"openSUSE Security Update : ceph (openSUSE-2020-187)");
      script_summary(english:"Check for the openSUSE-2020-187 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 ceph fixes the following issues :
    
      - CVE-2020-1700: Fixed a denial of service against the RGW
        server via connection leakage (bsc#1161312).
    
      - CVE-2020-1699: Fixed a information disclosure by
        improper URL checking (bsc#1161074).
    
    This update was imported from the SUSE:SLE-15-SP1:Update update
    project."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1161074"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1161312"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected ceph 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:"cvss_score_source", value:"CVE-2020-1699");
      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:ceph");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-base-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-common-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-dashboard-e2e");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-fuse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-fuse-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-grafana-dashboards");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mds");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mds-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-dashboard");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-diskprediction-cloud");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-diskprediction-local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-k8sevents");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-rook");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mgr-ssh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mon");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-mon-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-osd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-osd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-prometheus-alerts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-radosgw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-radosgw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-resource-agents");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-test");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-test-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ceph-test-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cephfs-shell");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcephfs-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcephfs2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcephfs2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librados-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librados-devel-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librados2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librados2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libradospp-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libradosstriper-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libradosstriper1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libradosstriper1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librbd-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librbd1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librbd1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librgw-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librgw2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:librgw2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-ceph-argparse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-cephfs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-cephfs-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rados");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rados-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rbd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rbd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rgw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-rgw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rados-objclass-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-fuse");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-fuse-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-mirror");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-mirror-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-nbd");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rbd-nbd-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.1");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/02/07");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/02/08");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/02/10");
      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", "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\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.1", 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 !~ "^(x86_64)$") audit(AUDIT_ARCH_NOT, "x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-base-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-base-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-common-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-common-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-dashboard-e2e-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-debugsource-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-fuse-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-fuse-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-grafana-dashboards-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mds-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mds-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-dashboard-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-diskprediction-cloud-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-diskprediction-local-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-k8sevents-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-rook-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mgr-ssh-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mon-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-mon-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-osd-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-osd-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-prometheus-alerts-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-radosgw-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-radosgw-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-resource-agents-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-test-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-test-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"ceph-test-debugsource-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"cephfs-shell-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libcephfs-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libcephfs2-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libcephfs2-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librados-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librados-devel-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librados2-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librados2-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libradospp-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libradosstriper-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libradosstriper1-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"libradosstriper1-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librbd-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librbd1-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librbd1-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librgw-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librgw2-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"librgw2-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-ceph-argparse-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-cephfs-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-cephfs-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rados-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rados-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rbd-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rbd-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rgw-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"python3-rgw-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rados-objclass-devel-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-fuse-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-fuse-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-mirror-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-mirror-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-nbd-14.2.5.382+g8881d33957-lp151.2.10.1") ) flag++;
    if ( rpm_check(release:"SUSE15.1", reference:"rbd-nbd-debuginfo-14.2.5.382+g8881d33957-lp151.2.10.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, "ceph-test / ceph-test-debuginfo / ceph-test-debugsource / ceph / etc");
    }