Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310806549
HistoryNov 27, 2015 - 12:00 a.m.

phpMyAdmin Content spoofing vulnerability (Nov 2015) - Windows

2015-11-2700:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
13

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

AI Score

6.2

Confidence

Low

EPSS

0.008

Percentile

81.3%

phpMyAdmin is prone to content spoofing vulnerability.

# SPDX-FileCopyrightText: 2015 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

CPE = "cpe:/a:phpmyadmin:phpmyadmin";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.806549");
  script_version("2024-02-09T05:06:25+0000");
  script_cve_id("CVE-2015-7873");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2024-02-09 05:06:25 +0000 (Fri, 09 Feb 2024)");
  script_tag(name:"creation_date", value:"2015-11-27 12:26:46 +0530 (Fri, 27 Nov 2015)");
  script_name("phpMyAdmin Content spoofing vulnerability (Nov 2015) - Windows");

  script_tag(name:"summary", value:"phpMyAdmin is prone to content spoofing vulnerability.");

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

  script_tag(name:"insight", value:"The flaw is due to insufficient sanitization
  of user supplied input via 'url' parameter in url.php script.");

  script_tag(name:"impact", value:"Successfully exploiting this issue may allow
  remote attackers to perform a content spoofing attack using the phpMyAdmin's
  redirection mechanism to external sites.");

  script_tag(name:"affected", value:"phpMyAdmin versions 4.4.x before 4.4.15.1
  and 4.5.x before 4.5.1 on Windows");

  script_tag(name:"solution", value:"Upgrade to phpMyAdmin 4.4.15.1 or 4.5.1
  or later.");

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

  script_xref(name:"URL", value:"https://www.phpmyadmin.net/security/PMASA-2015-5");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/77299");
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("gb_phpmyadmin_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("phpMyAdmin/installed", "Host/runs_windows");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if(!port = get_app_port(cpe:CPE))
  exit(0);

if(!vers = get_app_version(cpe:CPE, port:port))
  exit(0);

if(vers =~ "^4\.4")
{
  if(version_is_less(version:vers, test_version:"4.4.15.1"))
  {
    fix = "4.4.15.1";
    VULN = TRUE;
  }
}

else if(vers =~ "^4\.5")
{
  if(version_is_less(version:vers, test_version:"4.5.1"))
  {
    fix = "4.5.1";
    VULN = TRUE;
  }
}

if(VULN)
{
  report = report_fixed_ver(installed_version:vers, fixed_version:fix);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

AI Score

6.2

Confidence

Low

EPSS

0.008

Percentile

81.3%