7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.716 High
EPSS
Percentile
98.1%
The remote Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-4767-1 advisory.
XML external entity (XXE) vulnerability in Zabbix 1.8.x before 1.8.21rc1, 2.0.x before 2.0.13rc1, 2.2.x before 2.2.5rc1, and 2.3.x before 2.3.2 allows remote attackers to read arbitrary files or potentially execute arbitrary code via a crafted DTD in an XML request. (CVE-2014-3005)
SQL injection vulnerability in Zabbix before 2.2.14 and 3.0 before 3.0.4 allows remote attackers to execute arbitrary SQL commands via the toggle_ids array parameter in latest.php. (CVE-2016-10134)
Zabbix before 2.2.21rc1, 3.x before 3.0.13rc1, 3.1.x and 3.2.x before 3.2.10rc1, and 3.3.x and 3.4.x before 3.4.4rc1 allows open redirect via the request parameter. (CVE-2016-10742)
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
(CVE-2016-4338)
An exploitable code execution vulnerability exists in the trapper command functionality of Zabbix Server 2.4.X. A specially crafted set of packets can cause a command injection resulting in remote code execution. An attacker can make requests from an active Zabbix Proxy to trigger this vulnerability.
(CVE-2017-2824)
In the trapper functionality of Zabbix Server 2.4.x, specifically crafted trapper packets can pass database logic checks, resulting in database writes. An attacker can set up a Man-in-the-Middle server to alter trapper requests made between an active Zabbix proxy and Server to trigger this vulnerability.
(CVE-2017-2825)
Zabbix through 4.4.0alpha1 allows User Enumeration. With login requests, it is possible to enumerate application usernames based on the variability of server responses (e.g., the Login name or password is incorrect and No permissions for system access messages, or just blocking for a number of seconds).
This affects both api_jsonrpc.php and index.php. (CVE-2019-15132)
Zabbix Server 2.2.x and 3.0.x before 3.0.31, and 3.2 allows remote attackers to execute arbitrary code.
(CVE-2020-11800)
Zabbix before 3.0.32rc1, 4.x before 4.0.22rc1, 4.1.x through 4.4.x before 4.4.10rc1, and 5.x before 5.0.2rc1 allows stored XSS in the URL Widget. (CVE-2020-15803)
Note that Nessus has not tested for these issues but has instead relied only on the applicationโs self-reported version number.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Ubuntu Security Notice USN-4767-1. The text
# itself is copyright (C) Canonical, Inc. See
# <https://ubuntu.com/security/notices>. Ubuntu(R) is a registered
# trademark of Canonical, Inc.
##
include('compat.inc');
if (description)
{
script_id(183641);
script_version("1.0");
script_set_attribute(attribute:"plugin_modification_date", value:"2023/10/21");
script_cve_id(
"CVE-2014-3005",
"CVE-2016-4338",
"CVE-2016-10134",
"CVE-2016-10742",
"CVE-2017-2824",
"CVE-2017-2825",
"CVE-2019-15132",
"CVE-2020-11800",
"CVE-2020-15803"
);
script_xref(name:"USN", value:"4767-1");
script_name(english:"Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM : Zabbix vulnerabilities (USN-4767-1)");
script_set_attribute(attribute:"synopsis", value:
"The remote Ubuntu host is missing one or more security updates.");
script_set_attribute(attribute:"description", value:
"The remote Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM host has packages installed that are affected by multiple
vulnerabilities as referenced in the USN-4767-1 advisory.
- XML external entity (XXE) vulnerability in Zabbix 1.8.x before 1.8.21rc1, 2.0.x before 2.0.13rc1, 2.2.x
before 2.2.5rc1, and 2.3.x before 2.3.2 allows remote attackers to read arbitrary files or potentially
execute arbitrary code via a crafted DTD in an XML request. (CVE-2014-3005)
- SQL injection vulnerability in Zabbix before 2.2.14 and 3.0 before 3.0.4 allows remote attackers to
execute arbitrary SQL commands via the toggle_ids array parameter in latest.php. (CVE-2016-10134)
- Zabbix before 2.2.21rc1, 3.x before 3.0.13rc1, 3.1.x and 3.2.x before 3.2.10rc1, and 3.3.x and 3.4.x
before 3.4.4rc1 allows open redirect via the request parameter. (CVE-2016-10742)
- The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before
2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows
context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
(CVE-2016-4338)
- An exploitable code execution vulnerability exists in the trapper command functionality of Zabbix Server
2.4.X. A specially crafted set of packets can cause a command injection resulting in remote code
execution. An attacker can make requests from an active Zabbix Proxy to trigger this vulnerability.
(CVE-2017-2824)
- In the trapper functionality of Zabbix Server 2.4.x, specifically crafted trapper packets can pass
database logic checks, resulting in database writes. An attacker can set up a Man-in-the-Middle server to
alter trapper requests made between an active Zabbix proxy and Server to trigger this vulnerability.
(CVE-2017-2825)
- Zabbix through 4.4.0alpha1 allows User Enumeration. With login requests, it is possible to enumerate
application usernames based on the variability of server responses (e.g., the Login name or password is
incorrect and No permissions for system access messages, or just blocking for a number of seconds).
This affects both api_jsonrpc.php and index.php. (CVE-2019-15132)
- Zabbix Server 2.2.x and 3.0.x before 3.0.31, and 3.2 allows remote attackers to execute arbitrary code.
(CVE-2020-11800)
- Zabbix before 3.0.32rc1, 4.x before 4.0.22rc1, 4.1.x through 4.4.x before 4.4.10rc1, and 5.x before
5.0.2rc1 allows stored XSS in the URL Widget. (CVE-2020-15803)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://ubuntu.com/security/notices/USN-4767-1");
script_set_attribute(attribute:"solution", value:
"Update the affected 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:POC/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:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-11800");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2014/06/17");
script_set_attribute(attribute:"patch_publication_date", value:"2022/06/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2023/10/21");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:16.04:-:esm");
script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:18.04:-:esm");
script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:20.04:-:esm");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-agent");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-frontend-php");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-java-gateway");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-pgsql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-sqlite3");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-server-mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:zabbix-server-pgsql");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Ubuntu Local Security Checks");
script_copyright(english:"Ubuntu Security Notice (C) 2023 Canonical, Inc. / NASL script (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
exit(0);
}
include('debian_package.inc');
if ( ! get_kb_item('Host/local_checks_enabled') ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/Ubuntu/release');
if ( isnull(os_release) ) audit(AUDIT_OS_NOT, 'Ubuntu');
os_release = chomp(os_release);
if (! ('16.04' >< os_release || '18.04' >< os_release || '20.04' >< os_release)) audit(AUDIT_OS_NOT, 'Ubuntu 16.04 / 18.04 / 20.04', 'Ubuntu ' + os_release);
if ( ! get_kb_item('Host/Debian/dpkg-l') ) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Ubuntu', cpu);
var pkgs = [
{'osver': '16.04', 'pkgname': 'zabbix-agent', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-frontend-php', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-java-gateway', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-proxy-mysql', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-proxy-pgsql', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-proxy-sqlite3', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-server-mysql', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '16.04', 'pkgname': 'zabbix-server-pgsql', 'pkgver': '1:2.4.7+dfsg-2ubuntu2.1+esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-agent', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-frontend-php', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-java-gateway', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-proxy-mysql', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-proxy-pgsql', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-proxy-sqlite3', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-server-mysql', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '18.04', 'pkgname': 'zabbix-server-pgsql', 'pkgver': '1:3.0.12+dfsg-1ubuntu0.1~esm3'},
{'osver': '20.04', 'pkgname': 'zabbix-agent', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-frontend-php', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-java-gateway', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-proxy-mysql', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-proxy-pgsql', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-proxy-sqlite3', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-server-mysql', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'},
{'osver': '20.04', 'pkgname': 'zabbix-server-pgsql', 'pkgver': '1:4.0.17+dfsg-1ubuntu0.1~esm1'}
];
var flag = 0;
foreach package_array ( pkgs ) {
var osver = NULL;
var pkgname = NULL;
var pkgver = NULL;
if (!empty_or_null(package_array['osver'])) osver = package_array['osver'];
if (!empty_or_null(package_array['pkgname'])) pkgname = package_array['pkgname'];
if (!empty_or_null(package_array['pkgver'])) pkgver = package_array['pkgver'];
if (osver && pkgname && pkgver) {
if (ubuntu_check(osver:osver, pkgname:pkgname, pkgver:pkgver)) flag++;
}
}
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : ubuntu_report_get()
);
exit(0);
}
else
{
var tested = ubuntu_pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'zabbix-agent / zabbix-frontend-php / zabbix-java-gateway / etc');
}
Vendor | Product | Version | CPE |
---|---|---|---|
canonical | ubuntu_linux | 16.04 | cpe:/o:canonical:ubuntu_linux:16.04:-:esm |
canonical | ubuntu_linux | 18.04 | cpe:/o:canonical:ubuntu_linux:18.04:-:esm |
canonical | ubuntu_linux | 20.04 | cpe:/o:canonical:ubuntu_linux:20.04:-:esm |
canonical | ubuntu_linux | zabbix-agent | p-cpe:/a:canonical:ubuntu_linux:zabbix-agent |
canonical | ubuntu_linux | zabbix-frontend-php | p-cpe:/a:canonical:ubuntu_linux:zabbix-frontend-php |
canonical | ubuntu_linux | zabbix-java-gateway | p-cpe:/a:canonical:ubuntu_linux:zabbix-java-gateway |
canonical | ubuntu_linux | zabbix-proxy-mysql | p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-mysql |
canonical | ubuntu_linux | zabbix-proxy-pgsql | p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-pgsql |
canonical | ubuntu_linux | zabbix-proxy-sqlite3 | p-cpe:/a:canonical:ubuntu_linux:zabbix-proxy-sqlite3 |
canonical | ubuntu_linux | zabbix-server-mysql | p-cpe:/a:canonical:ubuntu_linux:zabbix-server-mysql |
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3005
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10134
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10742
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4338
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2824
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2825
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15132
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11800
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15803
ubuntu.com/security/notices/USN-4767-1
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.716 High
EPSS
Percentile
98.1%