The version of Firefox installed on the remote macOS or Mac OS X host is prior to 90.0. It is, therefore, affected by multiple vulnerabilities as referenced in the mfsa2021-28 advisory.
A malicious webpage could have triggered a use-after-free, memory corruption, and a potentially exploitable crash. This bug only affected Firefox when accessibility was enabled. (CVE-2021-29970)
If a user had granted a permission to a webpage and saved that grant, any webpage running on the same host
An out of bounds write in ANGLE could have allowed an attacker to corrupt memory leading to a potentially exploitable crash. (CVE-2021-30547)
A user-after-free vulnerability was found via testing, and traced to an out-of-date Cairo library.
Updating the library resolved the issue, and may have remediated other, unknown security vulnerabilities as well. (CVE-2021-29972)
Password autofill was enabled without user interaction on insecure websites on Firefox for Android. This was corrected to require user interaction with the page before a user’s password would be entered by the browser’s autofill functionality.This bug only affects Firefox for Android. Other operating systems are unaffected. (CVE-2021-29973)
When network partitioning was enabled, e.g. as a result of Enhanced Tracking Protection settings, a TLS error page would allow the user to override an error on a domain which had specified HTTP Strict Transport Security (which implies that the error should not be override-able.) This issue did not affect the network connections, and they were correctly upgraded to HTTPS automatically. (CVE-2021-29974)
Through a series of DOM manipulations, a message, over which the attacker had control of the text but not HTML or formatting, could be overlaid on top of another domain (with the new domain correctly shown in the address bar) resulting in possible user confusion. (CVE-2021-29975)
Mozilla developers Emil Ghitta, Tyson Smith, Valentin Gosu, Olli Pettay, and Randell Jesup reported memory safety bugs present in Firefox 89 and Firefox ESR 78.11. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. (CVE-2021-29976)
Mozilla developers Andrew McCreight, Tyson Smith, Christian Holler, and Gabriele Svelto reported memory safety bugs present in Firefox 89. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. (CVE-2021-29977)
Note that Nessus has not tested for this issue but has instead relied only on the application’s self-reported version number.
#%NASL_MIN_LEVEL 70300
##
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Mozilla Foundation Security Advisory mfsa2021-28.
# The text itself is copyright (C) Mozilla Foundation.
##
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(151572);
script_version("1.7");
script_set_attribute(attribute:"plugin_modification_date", value:"2023/12/08");
script_cve_id(
"CVE-2021-29970",
"CVE-2021-29971",
"CVE-2021-29972",
"CVE-2021-29973",
"CVE-2021-29974",
"CVE-2021-29975",
"CVE-2021-29976",
"CVE-2021-29977",
"CVE-2021-30547"
);
script_xref(name:"IAVA", value:"2021-A-0293-S");
script_xref(name:"IAVA", value:"2021-A-0309-S");
script_name(english:"Mozilla Firefox < 90.0");
script_set_attribute(attribute:"synopsis", value:
"A web browser installed on the remote macOS or Mac OS X host is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Firefox installed on the remote macOS or Mac OS X host is prior to 90.0. It is, therefore, affected by
multiple vulnerabilities as referenced in the mfsa2021-28 advisory.
- A malicious webpage could have triggered a use-after-free, memory corruption, and a potentially
exploitable crash. This bug only affected Firefox when accessibility was enabled. (CVE-2021-29970)
- If a user had granted a permission to a webpage and saved that grant, any webpage running on the same host
- irrespective of scheme or port - would be granted that permission.This bug only affects Firefox for
Android. Other operating systems are unaffected. (CVE-2021-29971)
- An out of bounds write in ANGLE could have allowed an attacker to corrupt memory leading to a potentially
exploitable crash. (CVE-2021-30547)
- A user-after-free vulnerability was found via testing, and traced to an out-of-date Cairo library.
Updating the library resolved the issue, and may have remediated other, unknown security vulnerabilities
as well. (CVE-2021-29972)
- Password autofill was enabled without user interaction on insecure websites on Firefox for Android. This
was corrected to require user interaction with the page before a user's password would be entered by the
browser's autofill functionality.This bug only affects Firefox for Android. Other operating systems
are unaffected. (CVE-2021-29973)
- When network partitioning was enabled, e.g. as a result of Enhanced Tracking Protection settings, a TLS
error page would allow the user to override an error on a domain which had specified HTTP Strict Transport
Security (which implies that the error should not be override-able.) This issue did not affect the network
connections, and they were correctly upgraded to HTTPS automatically. (CVE-2021-29974)
- Through a series of DOM manipulations, a message, over which the attacker had control of the text but not
HTML or formatting, could be overlaid on top of another domain (with the new domain correctly shown in the
address bar) resulting in possible user confusion. (CVE-2021-29975)
- Mozilla developers Emil Ghitta, Tyson Smith, Valentin Gosu, Olli Pettay, and Randell Jesup reported memory
safety bugs present in Firefox 89 and Firefox ESR 78.11. Some of these bugs showed evidence of memory
corruption and we presume that with enough effort some of these could have been exploited to run arbitrary
code. (CVE-2021-29976)
- Mozilla developers Andrew McCreight, Tyson Smith, Christian Holler, and Gabriele Svelto reported memory
safety bugs present in Firefox 89. Some of these bugs showed evidence of memory corruption and we presume
that with enough effort some of these could have been exploited to run arbitrary code. (CVE-2021-29977)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2021-28/");
script_set_attribute(attribute:"solution", value:
"Upgrade to Mozilla Firefox version 90.0 or later.");
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-2021-29971");
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:"2021/06/08");
script_set_attribute(attribute:"patch_publication_date", value:"2021/07/13");
script_set_attribute(attribute:"plugin_publication_date", value:"2021/07/13");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:firefox");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"MacOS X Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2021-2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("macosx_firefox_installed.nasl");
script_require_keys("MacOSX/Firefox/Installed");
exit(0);
}
include('mozilla_version.inc');
kb_base = 'MacOSX/Firefox';
get_kb_item_or_exit(kb_base+'/Installed');
version = get_kb_item_or_exit(kb_base+'/Version', exit_code:1);
path = get_kb_item_or_exit(kb_base+'/Path', exit_code:1);
is_esr = get_kb_item(kb_base+'/is_esr');
if (is_esr) exit(0, 'The Mozilla Firefox installation is in the ESR branch.');
mozilla_check_version(version:version, path:path, product:'firefox', esr:FALSE, fix:'90.0', severity:SECURITY_HOLE);
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29970
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29971
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29972
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29973
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29974
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29975
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29976
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29977
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30547
www.mozilla.org/en-US/security/advisories/mfsa2021-28/