Lucene search
+L

Redaxscript Path Disclosure and SQL Injection Vulnerabilities

🗓️ 07 Feb 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

Redaxscript Path Disclosure and SQL Injection Vulnerabilities. Flaws in '/templates/default/index.php' reveal full path of the script. Unsanitised input in '/includes/password.php

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2011-5313
2 Feb 201100:00
circl
cnvd
CNVD
Multiple SQL Injection Vulnerabilities in Redaxscript 'includes/password.php'
12 Jan 201500:00
cnvd
cve
CVE
CVE-2011-5313
1 Jan 201511:00
cve
cve
CVE
CVE-2011-5314
1 Jan 201511:00
cve
cvelist
Cvelist
CVE-2011-5313
1 Jan 201511:00
cvelist
cvelist
Cvelist
CVE-2011-5314
1 Jan 201511:00
cvelist
exploitdb
Exploit DB
RedaxScript 0.3.2 - Multiple Vulnerabilities
2 Feb 201100:00
exploitdb
euvd
EUVD
EUVD-2011-5212
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2011-5213
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-5313
1 Jan 201511:59
nvd
Rows per page
# SPDX-FileCopyrightText: 2011 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:redaxscript:redaxscript";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801733");
  script_version("2023-07-28T05:05:23+0000");
  script_tag(name:"last_modification", value:"2023-07-28 05:05:23 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-02-07 15:21:16 +0100 (Mon, 07 Feb 2011)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2011-5313", "CVE-2011-5314");
  script_name("Redaxscript Path Disclosure and SQL Injection Vulnerabilities");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("redaxscript_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("redaxscript/detected");

  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/16096/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/46089");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/78286");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/80099");
  script_xref(name:"URL", value:"http://securityreason.com/exploitalert/9918");
  script_xref(name:"URL", value:"http://www.htbridge.ch/advisory/sql_injection_in_redaxscript.html");

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

  - Error in the '/templates/default/index.php', which reveals the full path
  of the script.

  - Input passed to the 'id' and 'password' parameters in '/includes/password.php'
  is not properly sanitised before being returned to the user.");

  script_tag(name:"solution", value:"Upgrade to Redaxscript version 0.3.2a or later.");

  script_tag(name:"summary", value:"Redaxscript is prone to path disclosure and SQL injection vulnerabilities.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
  arbitrary queries to the database, compromise the application, access or modify
  sensitive data, or exploit various vulnerabilities in the underlying SQL database.");

  script_tag(name:"affected", value:"Redaxscript version 0.3.2.");

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

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE, service:"www" ) )
  exit( 0 );

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

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

url = string( dir, "/templates/default/index.php" );
req = http_get( item:url, port:port );
res = http_keepalive_send_recv( port:port, data:req );

if( res && ">Fatal error<" >< res && "Call to undefined function" >< res ) {
  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

28 Jul 2023 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 27.5
EPSS0.01257
16