Lucene search
+L

phpMyAdmin Multiple XSS Vulnerabilities (PMASA-2016-11) - Windows

🗓️ 17 May 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

phpMyAdmin Multiple XSS Vulnerabilities (PMASA-2016-11) - Windows. Vulnerable versions: 4.0.x < 4.0.10.15, 4.4.x < 4.4.15.5, 4.5.x < 4.5.5.1. Update to versions 4.0.10.15, 4.4.15.5, or 4.5.5.1 or later. More info: https://www.phpmyadmin.net/security/PMASA-2016-1

Related
Refs
Code
# SPDX-FileCopyrightText: 2016 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.807597");
  script_version("2023-10-17T05:05:34+0000");
  script_cve_id("CVE-2016-2560");
  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_tag(name:"last_modification", value:"2023-10-17 05:05:34 +0000 (Tue, 17 Oct 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2016-12-03 03:25:00 +0000 (Sat, 03 Dec 2016)");
  script_tag(name:"creation_date", value:"2016-05-17 12:12:08 +0530 (Tue, 17 May 2016)");
  script_tag(name:"qod_type", value:"remote_banner");
  script_name("phpMyAdmin Multiple XSS Vulnerabilities (PMASA-2016-11) - Windows");

  script_tag(name:"summary", value:"phpMyAdmin is prone to multiple cross-site scripting (XSS)
  vulnerabilities.");

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

  script_tag(name:"insight", value:"Multiple flaws are due to:

  - An input validation error via Host HTTP header, related to the 'libraries/Config.class.php'
  script.

  - An input validation error via JSON data, related to the 'file_echo.php' script.

  - An input validation error related to SQL query in the 'js/functions.js script'.

  - An input validation error via the initial parameter to the 'libraries/server_privileges.lib.php'
  script in the user accounts page.

  - An input validation error via a parameter to the
  'libraries/controllers/TableSearchController.class.php' script in the zoom search page.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to inject
  arbitrary web script or HTML via crafted parameters.");

  script_tag(name:"affected", value:"phpMyAdmin versions 4.0.x before 4.0.10.15, 4.4.x before
  4.4.15.5 and 4.5.x before 4.5.5.1.");

  script_tag(name:"solution", value:"Update to version 4.0.10.15, 4.4.15.5, or 4.5.5.1 or later.");

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

  script_xref(name:"URL", value:"https://www.phpmyadmin.net/security/PMASA-2016-11");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone AG");
  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\.0" && version_is_less(version:vers, test_version:"4.0.10.15")) {
  fix = "4.0.10.15";
  VULN = TRUE;
}

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

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

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

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation