This update for salt fixes the following issues :
Crontab module fix: file attributes option missing (boo#1114824)
Fix git_pillar merging across multiple env repositories (boo#1112874)
Bugfix: unable to detect os arch when RPM is not installed (boo#1114197)
Fix LDAP authentication issue when a valid token is generated by the salt-api even when invalid user credentials are passed. (U#48901)
Improved handling of LDAP group id. gid is no longer treated as a string, which could have lead to faulty group creations. (boo#1113784)
Fix remote command execution and incorrect access control when using salt-api. (boo#1113699) (CVE-2018-15751)
Fix Directory traversal vulnerability when using salt-api. Allows an attacker to determine what files exist on a server when querying /run or /events.
(boo#1113698) (CVE-2018-15750)
Add multi-file support and globbing to the filetree (U#50018)
Bugfix: supportconfig non-root permission issues (U#50095)
Open profiles permissions to everyone for read-only
Preserving signature in ‘module.run’ state (U#50049)
Install default salt-support profiles
Remove unit test, came from a wrong branch. Fix merging failure.
Add CPE_NAME for osversion* grain parsing
Get os_family for RPM distros from the RPM macros
Install support profiles
Fix async call to process manager (boo#1110938)
Salt-based supportconfig implementation (technology preview)
Bugfix: any unicode string of length 16 will raise TypeError
Fix IPv6 scope (boo#1108557)
Handle zypper ZYPPER_EXIT_NO_REPOS exit code (boo#1108834, boo#1109893)
Bugfix for pkg_resources crash (boo#1104491)
Fix loosen azure sdk dependencies in azurearm cloud driver (boo#1107333)
Fix broken ‘resolve_capabilities’ on Python 3 (boo#1108995)
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from openSUSE Security Update openSUSE-2018-1574.
#
# The text description of this plugin is (C) SUSE LLC.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(119805);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2018-15750", "CVE-2018-15751");
script_name(english:"openSUSE Security Update : salt (openSUSE-2018-1574)");
script_summary(english:"Check for the openSUSE-2018-1574 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 salt fixes the following issues :
- Crontab module fix: file attributes option missing
(boo#1114824)
- Fix git_pillar merging across multiple __env__
repositories (boo#1112874)
- Bugfix: unable to detect os arch when RPM is not
installed (boo#1114197)
- Fix LDAP authentication issue when a valid token is
generated by the salt-api even when invalid user
credentials are passed. (U#48901)
- Improved handling of LDAP group id. gid is no longer
treated as a string, which could have lead to faulty
group creations. (boo#1113784)
- Fix remote command execution and incorrect access
control when using salt-api. (boo#1113699)
(CVE-2018-15751)
- Fix Directory traversal vulnerability when using
salt-api. Allows an attacker to determine what files
exist on a server when querying /run or /events.
(boo#1113698) (CVE-2018-15750)
- Add multi-file support and globbing to the filetree
(U#50018)
- Bugfix: supportconfig non-root permission issues
(U#50095)
- Open profiles permissions to everyone for read-only
- Preserving signature in 'module.run' state (U#50049)
- Install default salt-support profiles
- Remove unit test, came from a wrong branch. Fix merging
failure.
- Add CPE_NAME for osversion* grain parsing
- Get os_family for RPM distros from the RPM macros
- Install support profiles
- Fix async call to process manager (boo#1110938)
- Salt-based supportconfig implementation (technology
preview)
- Bugfix: any unicode string of length 16 will raise
TypeError
- Fix IPv6 scope (boo#1108557)
- Handle zypper ZYPPER_EXIT_NO_REPOS exit code
(boo#1108834, boo#1109893)
- Bugfix for pkg_resources crash (boo#1104491)
- Fix loosen azure sdk dependencies in azurearm cloud
driver (boo#1107333)
- Fix broken 'resolve_capabilities' on Python 3
(boo#1108995)"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1104491"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1107333"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1108557"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1108834"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1108995"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1109893"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1110938"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1112874"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1113698"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1113699"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1113784"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1114197"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1114824"
);
script_set_attribute(attribute:"solution", value:"Update the affected salt packages.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI: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:python2-salt");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:python3-salt");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-api");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-bash-completion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-cloud");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-fish-completion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-master");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-minion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-proxy");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-ssh");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-syndic");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-zsh-completion");
script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.3");
script_set_attribute(attribute:"vuln_publication_date", value:"2018/10/24");
script_set_attribute(attribute:"patch_publication_date", value:"2018/12/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/12/20");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2018-2021 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 !~ "^(SUSE42\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.3", 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:"SUSE42.3", reference:"python2-salt-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"python3-salt-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-api-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-bash-completion-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-cloud-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-fish-completion-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-master-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-minion-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-proxy-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-ssh-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-syndic-2018.3.0-23.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-zsh-completion-2018.3.0-23.1") ) flag++;
if (flag)
{
if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
else security_hole(0);
exit(0);
}
else
{
tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, "python2-salt / python3-salt / salt / salt-api / etc");
}
Vendor | Product | Version | CPE |
---|---|---|---|
novell | opensuse | salt-proxy | p-cpe:/a:novell:opensuse:salt-proxy |
novell | opensuse | salt-ssh | p-cpe:/a:novell:opensuse:salt-ssh |
novell | opensuse | salt-syndic | p-cpe:/a:novell:opensuse:salt-syndic |
novell | opensuse | salt-zsh-completion | p-cpe:/a:novell:opensuse:salt-zsh-completion |
novell | opensuse | python2-salt | p-cpe:/a:novell:opensuse:python2-salt |
novell | opensuse | python3-salt | p-cpe:/a:novell:opensuse:python3-salt |
novell | opensuse | salt | p-cpe:/a:novell:opensuse:salt |
novell | opensuse | salt-api | p-cpe:/a:novell:opensuse:salt-api |
novell | opensuse | salt-bash-completion | p-cpe:/a:novell:opensuse:salt-bash-completion |
novell | opensuse | salt-cloud | p-cpe:/a:novell:opensuse:salt-cloud |
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15750
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15751
bugzilla.opensuse.org/show_bug.cgi?id=1104491
bugzilla.opensuse.org/show_bug.cgi?id=1107333
bugzilla.opensuse.org/show_bug.cgi?id=1108557
bugzilla.opensuse.org/show_bug.cgi?id=1108834
bugzilla.opensuse.org/show_bug.cgi?id=1108995
bugzilla.opensuse.org/show_bug.cgi?id=1109893
bugzilla.opensuse.org/show_bug.cgi?id=1110938
bugzilla.opensuse.org/show_bug.cgi?id=1112874
bugzilla.opensuse.org/show_bug.cgi?id=1113698
bugzilla.opensuse.org/show_bug.cgi?id=1113699
bugzilla.opensuse.org/show_bug.cgi?id=1113784
bugzilla.opensuse.org/show_bug.cgi?id=1114197
bugzilla.opensuse.org/show_bug.cgi?id=1114824