CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
81.0%
The remote host is missing an update for the Debian
# SPDX-FileCopyrightText: 2019 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.891674");
script_cve_id("CVE-2018-1000888");
script_tag(name:"creation_date", value:"2019-02-11 23:00:00 +0000 (Mon, 11 Feb 2019)");
script_version("2024-02-02T05:06:06+0000");
script_tag(name:"last_modification", value:"2024-02-02 05:06:06 +0000 (Fri, 02 Feb 2024)");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-02-11 18:48:34 +0000 (Mon, 11 Feb 2019)");
script_name("Debian: Security Advisory (DLA-1674-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone AG");
script_family("Debian Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/debian_linux", "ssh/login/packages", re:"ssh/login/release=DEB8");
script_xref(name:"Advisory-ID", value:"DLA-1674-1");
script_xref(name:"URL", value:"https://www.debian.org/lts/security/2019/DLA-1674-1");
script_xref(name:"URL", value:"https://wiki.debian.org/LTS");
script_tag(name:"summary", value:"The remote host is missing an update for the Debian 'php5' package(s) announced via the DLA-1674-1 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"php-pear in php5 contains CWE-502 (Deserialization of Untrusted Data) and CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes) vulnerabilities in its Archive_Tar class. When extract is called without a specific prefix path, can trigger unserialization by crafting a tar file with `phar://[path_to_malicious_phar_file]` as path. Object injection can be used to trigger destruct in the loaded PHP classes, all with possible remote code execution that can result in files being deleted or possibly modified.
For Debian 8 Jessie, this problem has been fixed in version 5.6.39+dfsg-0+deb8u2.
We recommend that you upgrade your php5 packages.
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: [link moved to references]");
script_tag(name:"affected", value:"'php5' package(s) on Debian 8.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-deb.inc");
release = dpkg_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "DEB8") {
if(!isnull(res = isdpkgvuln(pkg:"libapache2-mod-php5", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"libapache2-mod-php5filter", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"libphp5-embed", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php-pear", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-cgi", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-cli", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-common", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-curl", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-dbg", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-dev", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-enchant", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-fpm", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-gd", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-gmp", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-imap", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-interbase", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-intl", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-ldap", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-mcrypt", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-mysql", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-mysqlnd", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-odbc", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-pgsql", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-phpdbg", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-pspell", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-readline", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-recode", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-snmp", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-sqlite", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-sybase", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-tidy", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-xmlrpc", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"php5-xsl", ver:"5.6.39+dfsg-0+deb8u2", rls:"DEB8"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
81.0%