code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(21220);
script_version("1.26");
script_cvs_date("Date: 2018/11/15 20:50:16");
script_cve_id(
"CVE-2006-1627",
"CVE-2006-1785",
"CVE-2006-1786",
"CVE-2006-1787",
"CVE-2006-1788"
);
script_bugtraq_id(17500);
script_name(english:"Adobe Document Server for Reader Extensions < 6.1 Multiple Vulnerabilities");
script_summary(english:"Tries to exploit an XSS flaw in Adobe Document Server for Reader Extensions");
script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by multiple flaws." );
script_set_attribute(attribute:"description", value:
"The remote host is running Adobe Document Server, a server that
dynamically creates and manipulates PDF documents as well as graphic
images.
The version of Adobe Document Server installed on the remote host
includes the Adobe Document Server for Reader Extensions component,
which itself is affected by several issues :
- Missing Access Controls
An authenticated user can gain access to functionality
to which they should not have access by manipulating the
'actionID' and 'pageID' parameters.
- Cross-Site Scripting Flaws
The application fails to sanitize input to several
parameters before using it to generate dynamic web
content.
- Information Disclosure
The application exposes a user's session id in the
Referer header, which can lead to a loss of
confidentiality. Also, the application returns different
error messages during unsuccessful authentication
attempts, which can be used to enumerate users." );
script_set_attribute(attribute:"see_also", value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2005-68/advisory/" );
# http://web.archive.org/web/20060629020830/http://www.adobe.com/support/techdocs/322699.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?81de277d" );
# http://web.archive.org/web/20060322163151/http://www.adobe.com/support/techdocs/331915.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e25b3734" );
# http://web.archive.org/web/20060514115232/http://www.adobe.com/support/techdocs/331917.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?af7f3dbb" );
script_set_attribute(attribute:"solution", value:
"Upgrade to Adobe Document Server for Reader Extensions 6.1 / LiveCycle
Reader Extensions 7.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:F/RL:U/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"plugin_publication_date", value: "2006/04/14");
script_set_attribute(attribute:"vuln_publication_date", value: "2006/04/13");
script_set_attribute(attribute:"patch_publication_date", value: "2006/04/11");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:document_server");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2006-2018 Tenable Network Security, Inc.");
script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
script_require_ports("Services/www", 8019);
exit(0);
}
#
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("url_func.inc");
port = get_http_port(default:8019);
if (get_kb_item("www/"+port+"/generic_xss")) exit(0, "The web server on port "+port+" is prone to XSS");
# A simple alert.
xss = '<script>alert("' + SCRIPT_NAME + '")</script>';
# Try to exploit one of the XSS flaws.
r = http_send_recv3(method:"GET", port: port,
item:string("/altercast/AlterCast?", "op=", urlencode(str:xss)));
if (isnull(r)) exit(1, "The web server on port "+port+" failed to respond.");
res = r[2];
# There's a problem if we see our XSS.
if ("/altercast/images/AdobeLogo.gif" >< res && string("<h2>", xss) >< res)
{
security_hole(port);
set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
}
|