Lucene search

K
openvasCopyright (C) 2009 Greenbone AGOPENVAS:1361412562310800885
HistorySep 07, 2009 - 12:00 a.m.

Mozilla Products 'javascript:' URI XSS Vulnerability (Sep 2009) - Windows

2009-09-0700:00:00
Copyright (C) 2009 Greenbone AG
plugins.openvas.org
11

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.8 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

56.4%

Mozilla Products are prone to a cross-site scripting (XSS)
vulnerability.

# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800885");
  script_version("2023-07-27T05:05:08+0000");
  script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
  script_tag(name:"creation_date", value:"2009-09-07 19:45:38 +0200 (Mon, 07 Sep 2009)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_cve_id("CVE-2009-3010", "CVE-2009-3014");
  script_name("Mozilla Products 'javascript:' URI XSS Vulnerability (Sep 2009) - Windows");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("General");
  script_dependencies("gb_firefox_detect_portable_win.nasl", "gb_seamonkey_detect_win.nasl", "gb_mozilla_detect_win.nasl");
  script_mandatory_keys("Mozilla/Firefox_or_Seamonkey_or_Thunderbird/Installed");
  script_require_ports(139, 445);

  script_xref(name:"URL", value:"http://websecurity.com.ua/3315/");
  script_xref(name:"URL", value:"http://websecurity.com.ua/3323/");
  script_xref(name:"URL", value:"http://websecurity.com.ua/3373/");
  script_xref(name:"URL", value:"http://websecurity.com.ua/3386/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/506163/100/0/threaded");

  script_tag(name:"summary", value:"Mozilla Products are prone to a cross-site scripting (XSS)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Application fails to sanitise the 'javascript:' and 'data:'
  URIs in Refresh headers or Location headers in HTTP responses, which can be exploited via vectors
  related to injecting a Refresh header or Location HTTP response header.");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers to conduct XSS
  attacks against the victim's system.");

  script_tag(name:"affected", value:"Mozilla Firefox version 3.0.13 and prior, 3.5 and 3.6/3.7 a1 pre

  Mozilla Browser 1.7.13 and prior

  Seamonkey 1.1.17");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
  options are to upgrade to a newer release, disable respective features, remove the product or
  replace the product by another one.");

  script_tag(name:"solution_type", value:"WillNotFix");
  script_tag(name:"qod_type", value:"registry");

  exit(0);
}

include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");


ffVer = get_kb_item("Firefox/Win/Ver");
if(ffVer)
{
  if(version_is_less_equal(version:ffVer, test_version:"3.0.13")||
     version_is_equal(version:ffVer, test_version:"3.5"))
  {
    security_message( port: 0, data: "The target host was found to be vulnerable" );
    exit(0);
  }
}
else
{
  if(registry_key_exists(key:"SOFTWARE\Mozilla\Minefield"))
  {
    foreach item (registry_enum_keys(key:"SOFTWARE\Mozilla\Minefield"))
    {
      ver = eregmatch(pattern:"([0-9.]+a1pre)", string:item);

      # Firefox 3.6a1pre or 3.7a1pre Version check
      if(ver =~ "^3\.[6|7]a1pre")
      {
        security_message( port: 0, data: "The target host was found to be vulnerable" );
        exit(0);
      }
    }
  }
}

smVer = get_kb_item("Seamonkey/Win/Ver");
if(smVer != NULL)
{
  if(version_is_equal(version:smVer, test_version:"1.1.17"))
  {
    security_message( port: 0, data: "The target host was found to be vulnerable" );
    exit(0);
  }
}

# For Mozilla Browser
mbVer = get_kb_item("Mozilla/Win/Ver");
if(mbVer)
{
  if(version_is_less_equal(version:mbVer, test_version:"1.7.13")){
    security_message( port: 0, data: "The target host was found to be vulnerable" );
  }
}

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.8 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

56.4%

Related for OPENVAS:1361412562310800885