McAfee Email Gateway File Attachment Name NULL Character Handling Filter Bypass (SB10161)
| Source | Link |
|---|---|
| kc | www.kc.mcafee.com/corporate/index |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(91991);
script_version("1.4");
script_cvs_date("Date: 2018/08/08 12:52:14");
script_xref(name:"MCAFEE-SB", value:"SB10161");
script_name(english:"McAfee Email Gateway File Attachment Name NULL Character Handling Filter Bypass (SB10161)");
script_summary(english:"Checks the MEG version.");
script_set_attribute(attribute:"synopsis", value:
"An email proxy server running on the remote host is affected by a
filter bypass vulnerability.");
script_set_attribute(attribute:"description", value:
"The McAfee Email Gateway (MEG) application running on the remote host
is affected by a flaw when processing email file attachments due to a
failure to remove NULL characters from the raw header value before it
is decoded. An unauthenticated, remote attacker can exploit this, via
a crafted file attachment, to bypass file filters and send arbitrary
files to the recipient.");
script_set_attribute(attribute:"see_also", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10161");
script_set_attribute(attribute:"solution", value:
"Apply the relevant hotfix referenced in the vendor advisory.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"vuln_publication_date", value:"2016/06/09");
script_set_attribute(attribute:"patch_publication_date", value:"2016/06/07");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/07/11");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe",value:"cpe:/a:mcafee:email_gateway");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");
script_dependencies("mcafee_email_gateway_version.nbin");
script_require_keys("Host/McAfeeSMG/name", "Host/McAfeeSMG/version", "Host/McAfeeSMG/patches");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
app_name = get_kb_item_or_exit("Host/McAfeeSMG/name");
version = get_kb_item_or_exit("Host/McAfeeSMG/version");
patches = get_kb_item_or_exit("Host/McAfeeSMG/patches");
# if not 7.6.x, not affected
if (version !~ "^7\.6") audit(AUDIT_INST_VER_NOT_VULN, version);
# fix version comes from patch/hotfix version/build
# e.g. MEG-7.6.404h1128596-3334.102.zip
fix = "7.6.3334.102";
hotfix = "7.6.404h1128596-3334.102";
# if version > fix, not affected
if (ver_compare(ver:version, fix:fix, strict:FALSE) > 0) audit(AUDIT_INST_VER_NOT_VULN, version);
# if patch installed, not affected
if (hotfix >< patches) audit(AUDIT_PATCH_INSTALLED, hotfix, app_name, version);
# report
port = 0;
report = '\n' + app_name + ' ' + version + ' is missing hotfix ' + hotfix + '.\n';
security_report_v4(port:port, extra:report, severity:SECURITY_WARNING);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
08 Aug 2018 12:52Current
5.7Medium risk
Vulners AI Score5.7