Lucene search

K
nessusThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.OPERA_1001.NASL
HistoryOct 28, 2009 - 12:00 a.m.

Opera < 10.01 Multiple Vulnerabilities

2009-10-2800:00:00
This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
www.tenable.com
19

The version of Opera installed on the remote host is earlier than 10.01. Such versions are potential affected by multiple issues :

  • Specially crafted domain names can cause a memory corruption in Opera, which may lead to a crash or possibly remote code execution. (938)

  • Opera may allow scripts to run on the feed subscription page, thereby gaining access to the feeds object. (939)

  • In some cases, a Web font intended to be used for page content could be incorrectly used by Opera to render parts of the user interface, including the address field. (940)

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

include("compat.inc");

if (description)
{
  script_id(42291);
  script_version("1.12");

  script_cve_id(
    "CVE-2009-3265", 
    "CVE-2009-3266", 
    "CVE-2009-3831", 
    "CVE-2009-3832"
  );
  script_bugtraq_id(36418, 36850);
  script_xref(name:"Secunia", value:"37182");

  script_name(english:"Opera < 10.01 Multiple Vulnerabilities");
  script_summary(english:"Checks version number of Opera");

  script_set_attribute( attribute:"synopsis", value:
"The remote host contains a web browser that is affected by multiple
issues."  );
  script_set_attribute( attribute:"description", value:
"The version of Opera installed on the remote host is earlier than
10.01.  Such versions are potential affected by multiple issues :

  - Specially crafted domain names can cause a memory 
    corruption in Opera, which may lead to a crash or
    possibly remote code execution. (938)

  - Opera may allow scripts to run on the feed subscription
    page, thereby gaining access to the feeds object. (939)

  - In some cases, a Web font intended to be used for page 
    content could be incorrectly used by Opera to render 
    parts of the user interface, including the address 
    field. (940)"  );

  script_set_attribute(
    attribute:"see_also",
    value:"http://www.opera.com/support/kb/view/938/"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.opera.com/support/kb/view/939/"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://web.archive.org/web/20130225211702/http://www.opera.com/support/kb/view/940/"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://web.archive.org/web/20170713152027/http://www.opera.com:80/docs/changelogs/windows/1001/"
  );

  script_set_attribute(
    attribute:"solution",
    value:"Upgrade to Opera 10.01 or later."
  );
  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: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(20, 79, 94);

  script_set_attribute(
    attribute:"vuln_publication_date",
    value:"2009/10/28"
  );
  script_set_attribute(
    attribute:"patch_publication_date",
    value:"2009/10/28"
  );
  script_set_attribute(
    attribute:"plugin_publication_date",
    value:"2009/10/28"
  );
 script_cvs_date("Date: 2018/11/15 20:50:27");
  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_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");

  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(1, "The 'SMB/Opera/Version' KB item is missing.");

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

if (ver[0] < 10 ||
  (ver[0] == 10 && ver[1] < 1)
)
{
  if (report_verbosity > 0 && 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(port:get_kb_item("SMB/transport"));
  exit(0);
}
exit(0, "The installed version of Opera is not affected.");
VendorProductVersionCPE
operaopera_browsercpe:/a:opera:opera_browser