Lucene search

K
openvasCopyright (C) 2014 Greenbone AGOPENVAS:1361412562310805208
HistoryDec 11, 2014 - 12:00 a.m.

Snowfox CMS 'rd' Parameter Open Redirect Vulnerability

2014-12-1100:00:00
Copyright (C) 2014 Greenbone AG
plugins.openvas.org
16

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

AI Score

6.7

Confidence

Low

EPSS

0.007

Percentile

80.8%

Snowfox CMS is prone to an open redirect vulnerability.

# SPDX-FileCopyrightText: 2014 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.805208");
  script_version("2023-12-13T05:05:23+0000");
  script_cve_id("CVE-2014-9343");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:N");
  script_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
  script_tag(name:"creation_date", value:"2014-12-11 18:21:19 +0530 (Thu, 11 Dec 2014)");
  script_name("Snowfox CMS 'rd' Parameter Open Redirect Vulnerability");

  script_tag(name:"summary", value:"Snowfox CMS is prone to an open redirect vulnerability.");

  script_tag(name:"vuldetect", value:"Send a crafted HTTP GET request and check
  whether it redirects to the malicious websites.");

  script_tag(name:"insight", value:"The error exists as the application does
  not validate the 'rd' parameter upon submission to the selectlanguage.class.php
  script.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to create a specially crafted URL, that if clicked, would redirect
  a victim from the intended legitimate web site to an arbitrary web site of the
  attacker's choosing.");

  script_tag(name:"affected", value:"Snowfox CMS version 1.0");

  script_tag(name:"solution", value:"Upgrade to Snowfox CMS version 1.0.10 or
  later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_app");

  script_xref(name:"URL", value:"http://www.zeroscience.mk/codes/snowfox_url.txt");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71174");
  script_xref(name:"URL", value:"http://packetstormsecurity.com/files/129162");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");

cmsPort = http_get_port(default:80);

if(!http_can_host_php(port:cmsPort)){
  exit(0);
}

foreach dir (make_list_unique("/", "/snowfox", "/snowfoxcms", "/cms", http_cgi_dirs(port:cmsPort)))
{

  if(dir == "/") dir = "";

  rcvRes = http_get_cache(item:string(dir, "/index.php"),  port:cmsPort);

  if(rcvRes && rcvRes =~ "powered by.*>Snowfox CMS<")
  {
    url = dir + "/?uri=user/select-language&formAction=submit&rd=ht"
              + "tp://www.example.com";

    sndReq = http_get(item:url,  port:cmsPort);
    rcvRes = http_keepalive_send_recv(port:cmsPort, data:sndReq);

    if(rcvRes && rcvRes =~ "HTTP/1.. 302" &&
       rcvRes =~ "(L|l)ocation: http://www.example.com")
    {
      security_message(port:cmsPort);
      exit(0);
    }
  }
}

exit(99);

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

AI Score

6.7

Confidence

Low

EPSS

0.007

Percentile

80.8%

Related for OPENVAS:1361412562310805208