OrientDB Server 2.2.x <= 2.2.22 RCE Vulnerability
🗓️ 12 Oct 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType
openvas🔗 plugins.openvas.org👁 61 Views
| Reporter | Title | Published | Views | Family All 19 |
|---|---|---|---|---|
| Security Bulletin: Vulnerability in OrientDB might affect IBM Storage Copy Data Management. | 24 Jan 202519:09 | – | ibm | |
| The vulnerability of the OrientDB database management system, related to deficiencies in access control, allows attackers to execute arbitrary commands. | 22 Sep 201700:00 | – | bdu_fstec | |
| CVE-2017-11467 | 2 Feb 201815:26 | – | circl | |
| OrientDB Arbitrary Command Execution Vulnerability | 20 Jul 201700:00 | – | cnvd | |
| OrientDB Groovy Wrapper Remote Code Execution (CVE-2017-11467) | 4 Feb 201800:00 | – | checkpoint_advisories | |
| CVE-2017-11467 | 20 Jul 201700:00 | – | cve | |
| CVE-2017-11467 | 20 Jul 201700:00 | – | cvelist | |
| OrientDB - Code Execution | 13 Jul 201700:00 | – | exploitdb | |
| OrientDB - Code Execution | 13 Jul 201700:00 | – | exploitpack | |
| OrientDB vulnerable to Improper Privilage Management leading to arbitrary command injection | 18 Oct 201817:40 | – | github |
10
| Source | Link |
|---|---|
| github | www.github.com/orientechnologies/orientdb/wiki/OrientDB-2.2-Release-Notes |
| heavensec | www.heavensec.org/ |
# SPDX-FileCopyrightText: 2017 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:orientdb:orientdb";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.112079");
script_version("2024-06-26T05:05:39+0000");
script_cve_id("CVE-2017-11467");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"last_modification", value:"2024-06-26 05:05:39 +0000 (Wed, 26 Jun 2024)");
script_tag(name:"severity_vector", value:"CVSS:3.0/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:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");
script_tag(name:"creation_date", value:"2017-10-12 09:13:31 +0200 (Thu, 12 Oct 2017)");
script_tag(name:"qod_type", value:"remote_banner");
script_name("OrientDB Server 2.2.x <= 2.2.22 RCE Vulnerability");
script_tag(name:"summary", value:"OrientDB does not enforce privilege requirements during 'where' or 'fetchplan'
or 'order by' use, which allows remote attackers to execute arbitrary OS commands via a crafted request.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"OrientDB uses RBAC model for authentication schemes. By default an OrientDB has 3 roles - admin, writer and reader.
These have their usernames same as the role. For each database created on the server, it assigns by default these 3 users.
The privileges of the users are:
admin - access to all functions on the database without any limitation
reader - read-only user. The reader can query any records in the database, but can't modify or delete them. It has no access to internal information, such as the users and roles themselves
writer - same as the 'reader', but it can also create, update and delete records
ORole structure handles users and their roles and is only accessible by the admin user. OrientDB requires oRole read permissions to allow the user
to display the permissions of users and make other queries associated with oRole permissions.
From version 2.2.x and above whenever the oRole is queried with a where, fetchplan and order by statements,
this permission requirement is not required and information is returned to unprivileged users.
Since OrientDB has a function where one could execute groovy functions and this groovy wrapper doesn't have a sandbox and exposes system functionalities,
it is possible to run any command.");
script_tag(name:"affected", value:"OrientDB Server version 2.2.x through 2.2.22.");
script_tag(name:"solution", value:"Update to version 2.2.23 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://www.heavensec.org/?p=1703");
script_xref(name:"URL", value:"https://github.com/orientechnologies/orientdb/wiki/OrientDB-2.2-Release-Notes#2223---july-11-2017");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_orientdb_server_detect.nasl");
script_mandatory_keys("orientdb/server/detected");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!port = get_app_port(cpe:CPE))
exit(0);
if(!ver = get_app_version(cpe:CPE, port:port))
exit(0);
if(version_in_range(version:ver, test_version:"2.2", test_version2:"2.2.22")) {
report = report_fixed_ver(installed_version:ver, fixed_version:"2.2.23");
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
26 Jun 2024 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 39.8
CVSS 210
EPSS0.73071