Lucene search

K
nessusThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.OPERA_HREF_OVERFLOW.NASL
HistoryOct 20, 2003 - 12:00 a.m.

Opera < 7.21 HREF Escaped Character Overflow

2003-10-2000:00:00
This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
www.tenable.com
42

The installed version of Opera on the remote host is vulnerable to a buffer overflow in the code that parses HREF tags in the server.

To exploit them, an attacker would need to set up a rogue website, then lure a user of this host to visit the site using Opera.
The attacker would then be able to execute arbitrary code on this host.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(11900);
 script_version("1.20");

 script_cve_id("CVE-2003-0870");
 script_bugtraq_id(8853);

 script_name(english:"Opera < 7.21 HREF Escaped Character Overflow");
 script_summary(english:"Determines the version of Opera.exe");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote host has an application that is affected by a
buffer overflow vulnerability." );
 script_set_attribute(attribute:"description", value:
"The installed version of Opera on the remote host is 
vulnerable to a buffer overflow in the code that parses 
HREF tags in the server. 

To exploit them, an attacker would need to set up a rogue
website, then lure a user of this host to visit the site using Opera.
The attacker would then be able to execute arbitrary code on this 
host." );
 script_set_attribute(attribute:"see_also", value:"http://web.archive.org/web/20170912024720/http://www.opera.com:80/docs/changelogs/windows/721/" );
 script_set_attribute(attribute:"solution", value:
"Install Opera 7.21 or newer." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"plugin_publication_date", value: "2003/10/20");
 script_set_attribute(attribute:"vuln_publication_date", value: "2003/10/20");
 script_cvs_date("Date: 2018/11/15 20:50:28");
 script_set_attribute(attribute:"plugin_type", value:"local");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:opera:opera_browser");
 script_end_attributes();
 
 script_category(ACT_GATHER_INFO);
 
 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
 family["english"] = "Windows";
 script_family(english:family["english"]);
 
 script_dependencies("opera_installed.nasl");
 script_require_keys("SMB/Opera/Version");

 exit(0);
}


include("global_settings.inc");


version_ui = get_kb_item("SMB/Opera/Version_UI");
version = get_kb_item("SMB/Opera/Version");
if (isnull(version)) exit(0);

ver = split(version, sep:'.', keep:FALSE);
for (i=0; i<max_index(ver); i++)
  ver[i] = int(ver[i]);

if (
  ver[0] < 7 ||
  (ver[0] == 7 && ver[1] < 21)
)
{
  if (report_verbosity && version_ui)
  {
    report = string(
      "\n",
      "Opera ", version_ui, " is currently installed on the remote host.\n"
    );
    security_hole(port:get_kb_item("SMB/transport"), extra:report);
  }
  else security_hole(get_kb_item("SMB/transport"));
}
VendorProductVersionCPE
operaopera_browsercpe:/a:opera:opera_browser
Related for OPERA_HREF_OVERFLOW.NASL