Check for the Version of MozillaFirefox
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_suse_2013_0946_1.nasl 8494 2018-01-23 06:57:55Z teissa $
#
# SuSE Update for MozillaFirefox openSUSE-SU-2013:0946-1 (MozillaFirefox)
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (C) 2013 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
include("revisions-lib.inc");
if(description)
{
script_id(850545);
script_version("$Revision: 8494 $");
script_tag(name:"last_modification", value:"$Date: 2018-01-23 07:57:55 +0100 (Tue, 23 Jan 2018) $");
script_tag(name:"creation_date", value:"2013-12-10 13:21:27 +0530 (Tue, 10 Dec 2013)");
script_cve_id("CVE-2013-0801", "CVE-2013-1669", "CVE-2013-1670", "CVE-2013-1671",
"CVE-2013-1674", "CVE-2013-1675", "CVE-2013-1676", "CVE-2013-1677",
"CVE-2013-1678", "CVE-2013-1679", "CVE-2013-1680", "CVE-2013-1681");
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("SuSE Update for MozillaFirefox openSUSE-SU-2013:0946-1 (MozillaFirefox)");
tag_insight = "
MozillaFirefox was updated to Firefox 21.0 (bnc#819204)
* MFSA 2013-41/CVE-2013-0801/CVE-2013-1669 Miscellaneous
memory safety hazards
* MFSA 2013-42/CVE-2013-1670 (bmo#853709) Privileged access
for content level constructor
* MFSA 2013-43/CVE-2013-1671 (bmo#842255) File input
control has access to full path
* MFSA 2013-46/CVE-2013-1674 (bmo#860971) Use-after-free
with video and onresize event
* MFSA 2013-47/CVE-2013-1675 (bmo#866825) Uninitialized
functions in DOMSVGZoomEvent
* MFSA 2013-48/CVE-2013-1676/CVE-2013-1677/CVE-2013-1678/
CVE-2013-1679/CVE-2013-1680/CVE-2013-1681 Memory
corruption found using Address Sanitizer
Changes in MozillaFirefox-branding-openSUSE:
- modified file locations for Firefox 21 and above
- added DuckDuckGo as search option (bnc#801121)";
tag_affected = "MozillaFirefox on openSUSE 12.3";
tag_solution = "Please Install the Updated Packages.";
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name: "openSUSE-SU", value: "2013:0946_1");
script_tag(name: "summary" , value: "Check for the Version of MozillaFirefox");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2013 Greenbone Networks GmbH");
script_family("SuSE Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/suse", "ssh/login/rpms");
exit(0);
}
include("pkg-lib-rpm.inc");
release = get_kb_item("ssh/login/release");
res = "";
if(release == NULL){
exit(0);
}
if(release == "openSUSE12.3")
{
if ((res = isrpmvuln(pkg:"MozillaFirefox", rpm:"MozillaFirefox~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-branding-openSUSE-21", rpm:"MozillaFirefox-branding-openSUSE-21~2.5.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-branding-upstream", rpm:"MozillaFirefox-branding-upstream~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-buildsymbols", rpm:"MozillaFirefox-buildsymbols~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-debuginfo", rpm:"MozillaFirefox-debuginfo~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-debugsource", rpm:"MozillaFirefox-debugsource~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-devel", rpm:"MozillaFirefox-devel~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-translations-common", rpm:"MozillaFirefox-translations-common~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"MozillaFirefox-translations-other", rpm:"MozillaFirefox-translations-other~21.0~1.18.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr", rpm:"mozilla-nspr~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr-debuginfo", rpm:"mozilla-nspr-debuginfo~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr-debugsource", rpm:"mozilla-nspr-debugsource~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr-devel", rpm:"mozilla-nspr-devel~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr-32bit", rpm:"mozilla-nspr-32bit~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"mozilla-nspr-debuginfo-32bit", rpm:"mozilla-nspr-debuginfo-32bit~4.9.6~1.7.1", rls:"openSUSE12.3")) != NULL)
{
security_message(data:res);
exit(0);
}
if (__pkg_match) exit(99); # Not vulnerable.
exit(0);
}