Lucene search

K
openvasCopyright (C) 2008 Greenbone AGOPENVAS:1361412562310800210
HistoryDec 23, 2008 - 12:00 a.m.

phpMyAdmin Multiple CSRF SQL Injection Vulnerabilities

2008-12-2300:00:00
Copyright (C) 2008 Greenbone AG
plugins.openvas.org
14

7.7 High

AI Score

Confidence

High

0.015 Low

EPSS

Percentile

87.0%

phpMyAdmin is prone to multiple CSRF Injection vulnerability.

# SPDX-FileCopyrightText: 2008 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.800210");
  script_version("2024-03-01T14:37:10+0000");
  script_tag(name:"last_modification", value:"2024-03-01 14:37:10 +0000 (Fri, 01 Mar 2024)");
  script_tag(name:"creation_date", value:"2008-12-23 15:23:02 +0100 (Tue, 23 Dec 2008)");
  script_tag(name:"cvss_base", value:"6.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:P/I:P/A:P");
  script_cve_id("CVE-2008-5621");
  script_name("phpMyAdmin Multiple CSRF SQL Injection Vulnerabilities");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_phpmyadmin_http_detect.nasl");
  script_mandatory_keys("phpMyAdmin/installed");

  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/7382");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/32720");
  script_xref(name:"URL", value:"http://www.phpmyadmin.net/home_page/security/PMASA-2008-10.php");
  script_xref(name:"URL", value:"https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00784.html");

  script_tag(name:"impact", value:"Successful exploitation will let the attacker execute arbitrary codes in the
  context of the application and can compromise database, modify the data or can compromise the whole web application.");

  script_tag(name:"affected", value:"phpMyAdmin, phpMyAdmin version 2.11 to 2.11.9.3 and 3.0 to 3.1.0.9.");

  script_tag(name:"insight", value:"This flaw is due to failure in sanitizing user-supplied data before being
  used in the SQL queries via a link or IMG tag to tbl_structure.php with a modified table parameter.");

  script_tag(name:"solution", value:"Upgrade to version 2.11.9.4 or 3.1.1.0 or later.");

  script_tag(name:"summary", value:"phpMyAdmin is prone to multiple CSRF Injection vulnerability.");

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

  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( version_in_range( version:vers, test_version:"2.11", test_version2:"2.11.9.3" ) ||
    version_in_range( version:vers, test_version:"3.0", test_version2:"3.1.0.9" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"2.11.9.4/3.1.1.0" );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

7.7 High

AI Score

Confidence

High

0.015 Low

EPSS

Percentile

87.0%