code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(43390);
script_version("1.13");
script_cvs_date("Date: 2018/11/15 20:50:23");
script_cve_id("CVE-2009-3791", "CVE-2009-3792");
script_bugtraq_id(37419, 37420);
script_xref(name:"Secunia", value:"37891");
script_name(english:"Adobe Flash Media Server < 3.0.5 / 3.5.3 Multiple Vulnerabilities (APSB09-18)");
script_summary(english:"Checks version of Adobe Flash Media Server");
script_set_attribute(attribute:"synopsis",value:
"The remote media server is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description",value:
"The remote host is running Adobe Flash Media Server, an application
server for Flash-based applications.
The version running on the remote host is earlier than version 3.0.5
or 3.5.3. Such versions are potentially affected by the following
vulnerabilities :
- A resource exhaustion vulnerability can lead to a denial
of service. (CVE-2009-3791)
- A directory traversal vulnerability can lead to FMS
loading arbitrary DLLs present on the server.
(CVE-2009-3792)"
);
script_set_attribute(
attribute:"see_also",
value:"https://www.adobe.com/support/security/bulletins/apsb09-18.html"
);
script_set_attribute(
attribute:"solution",
value:"Upgrade to Flash Media Server 3.0.5 / 3.5.3 or later."
);
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(22);
script_set_attribute(attribute:"vuln_publication_date", value:"2009/12/18");
script_set_attribute(attribute:"patch_publication_date", value:"2009/12/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2009/12/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:flash_media_server");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");
script_dependencies("adobe_fms_detect.nasl");
script_require_ports("Services/rtmp", 1111, 1935, 19350);
script_require_keys("rtmp/adobe_fms");
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_kb_item_or_exit("Services/rtmp");
version = get_kb_item_or_exit("rtmp/" + port + "/adobe_fms/version");
source = get_kb_item_or_exit("rtmp/" + port + "/adobe_fms/version_source");
ver = split(version, sep:'.', keep:FALSE);
for (i=0;i<max_index(ver); i++)
ver[i] = int(ver[i]);
if (
ver[0] < 3 ||
(
ver[0] == 3 &&
(
(ver[1] == 0 && ver[2] < 5) ||
(ver[1] == 5 && ver[2] < 3)
)
)
)
{
if (report_verbosity)
{
report =
'\n' +
'Version source : ' + source +
'\n' +
'Installed version : ' + version +
'\n' +
'Fixed version : 3.0.5 / 3.5.3\n';
security_hole(port:port, extra:report);
}
else security_hole(port);
}
else exit(0, "The Adobe Flash Media Server version "+version+" on port "+port+" is not affected.");
|