The remote host is missing an update for the
# SPDX-FileCopyrightText: 2012 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.841202");
script_cve_id("CVE-2012-1531", "CVE-2012-1532", "CVE-2012-1533", "CVE-2012-3143", "CVE-2012-3159", "CVE-2012-3216", "CVE-2012-4416", "CVE-2012-5067", "CVE-2012-5068", "CVE-2012-5069", "CVE-2012-5070", "CVE-2012-5071", "CVE-2012-5072", "CVE-2012-5073", "CVE-2012-5074", "CVE-2012-5075", "CVE-2012-5076", "CVE-2012-5077", "CVE-2012-5079", "CVE-2012-5081", "CVE-2012-5083", "CVE-2012-5084", "CVE-2012-5085", "CVE-2012-5086", "CVE-2012-5087", "CVE-2012-5088", "CVE-2012-5089");
script_tag(name:"creation_date", value:"2012-10-29 05:33:54 +0000 (Mon, 29 Oct 2012)");
script_version("2024-02-02T05:06:04+0000");
script_tag(name:"last_modification", value:"2024-02-02 05:06:04 +0000 (Fri, 02 Feb 2024)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_name("Ubuntu: Security Advisory (USN-1619-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Ubuntu Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/ubuntu_linux", "ssh/login/packages", re:"ssh/login/release=UBUNTU(10\.04\ LTS|11\.04|11\.10|12\.04\ LTS|12\.10)");
script_xref(name:"Advisory-ID", value:"USN-1619-1");
script_xref(name:"URL", value:"https://ubuntu.com/security/notices/USN-1619-1");
script_xref(name:"URL", value:"http://www.oracle.com/technetwork/topics/security/javacpuoct2012-1515924.html");
script_tag(name:"summary", value:"The remote host is missing an update for the 'openjdk-6, openjdk-7' package(s) announced via the USN-1619-1 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"Several information disclosure vulnerabilities were discovered in the
OpenJDK JRE. (CVE-2012-3216, CVE-2012-5069, CVE-2012-5072, CVE-2012-5075,
CVE-2012-5077, CVE-2012-5085)
Vulnerabilities were discovered in the OpenJDK JRE related to information
disclosure and data integrity. (CVE-2012-4416, CVE-2012-5071)
Several vulnerabilities were discovered in the OpenJDK JRE related to
information disclosure and data integrity. An attacker could exploit these
to cause a denial of service. (CVE-2012-1531, CVE-2012-1532, CVE-2012-1533,
CVE-2012-3143, CVE-2012-3159, CVE-2012-5068, CVE-2012-5083, CVE-2012-5084,
CVE-2012-5086, CVE-2012-5089)
Information disclosure vulnerabilities were discovered in the OpenJDK JRE.
These issues only affected Ubuntu 12.10. (CVE-2012-5067, CVE-2012-5070)
Vulnerabilities were discovered in the OpenJDK JRE related to data
integrity. (CVE-2012-5073, CVE-2012-5079)
A vulnerability was discovered in the OpenJDK JRE related to information
disclosure and data integrity. This issue only affected Ubuntu 12.10.
(CVE-2012-5074)
Several vulnerabilities were discovered in the OpenJDK JRE related to
information disclosure and data integrity. An attacker could exploit these
to cause a denial of service. These issues only affected Ubuntu 12.10.
(CVE-2012-5076, CVE-2012-5087, CVE-2012-5088)
A denial of service vulnerability was found in OpenJDK. (CVE-2012-5081)
Please see the following for more information:
[link moved to references]");
script_tag(name:"affected", value:"'openjdk-6, openjdk-7' package(s) on Ubuntu 10.04, Ubuntu 11.04, Ubuntu 11.10, Ubuntu 12.04, Ubuntu 12.10.");
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 == "UBUNTU10.04 LTS") {
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-cacao", ver:"6b24-1.11.5-0ubuntu1~10.04.2", rls:"UBUNTU10.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre", ver:"6b24-1.11.5-0ubuntu1~10.04.2", rls:"UBUNTU10.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-headless", ver:"6b24-1.11.5-0ubuntu1~10.04.2", rls:"UBUNTU10.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-lib", ver:"6b24-1.11.5-0ubuntu1~10.04.2", rls:"UBUNTU10.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-zero", ver:"6b24-1.11.5-0ubuntu1~10.04.2", rls:"UBUNTU10.04 LTS"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "UBUNTU11.04") {
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-cacao", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-jamvm", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-headless", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-lib", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-zero", ver:"6b24-1.11.5-0ubuntu1~11.04.1", rls:"UBUNTU11.04"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "UBUNTU11.10") {
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-cacao", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-jamvm", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-headless", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-lib", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-zero", ver:"6b24-1.11.5-0ubuntu1~11.10.1", rls:"UBUNTU11.10"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "UBUNTU12.04 LTS") {
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-cacao", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"icedtea-6-jre-jamvm", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-headless", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-lib", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-6-jre-zero", ver:"6b24-1.11.5-0ubuntu1~12.04.1", rls:"UBUNTU12.04 LTS"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
if(release == "UBUNTU12.10") {
if(!isnull(res = isdpkgvuln(pkg:"icedtea-7-jre-cacao", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"icedtea-7-jre-jamvm", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-7-jre", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-7-jre-headless", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-7-jre-lib", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(!isnull(res = isdpkgvuln(pkg:"openjdk-7-jre-zero", ver:"7u9-2.3.3-0ubuntu1~12.10.1", rls:"UBUNTU12.10"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);