cve.bz

CVE-2018-12551 eclipse mosquitto: Improper Authentication

8.1 highExploit referenceEPSS 1.5%

High (8.1) in eclipse mosquitto. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the password file will be treated as valid. This typically means that the malformed data becomes a username and no password. If this occurs, clients can circumvent authentication and get access to the broker by using the malformed username. In particular, a blank line will be treated as a valid empty username. Other security measures are unaffected. Users who have only used the mosquitto_passwd utility to create and modify their password files are unaffected by this vulnerability.

Severity

CVSS 3.0

8.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-287 Improper Authentication
CWE-703 Improper Check or Handling of Exceptional Conditions
OWASP Top 10
A07:2025 Authentication Failures, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12551 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12551?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12551?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12551 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Eclipse Foundation Eclipse Mosquittofrom 1.0 before unspecified
The Eclipse Foundation Eclipse Mosquittothrough 1.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8mosquitto1.3.4-2+deb8u4DLA-1972-1
Debian9mosquitto1.4.10-3+deb9u3DSA-4388-1
Debian12, 13, 14mosquitto1.5.6-1DEBIAN-CVE-2018-12551
Ubuntu16.04:LTSmosquitto1.4.8-1ubuntu0.16.04.5UBUNTU-CVE-2018-12551
Ubuntu18.04:LTSmosquitto1.4.15-2ubuntu0.18.04.1UBUNTU-CVE-2018-12551
SUSEPackage Hub 15mosquitto1.4.15-bp150.3.3.1openSUSE-SU-2019:0237-1
Alpinev3.7mosquitto1.4.15-r1ALPINE-CVE-2018-12551
Alpinev3.8mosquitto1.4.15-r4ALPINE-CVE-2018-12551
Alpinev3.9, v3.10, v3.11 and 13 moremosquitto1.5.6-r0ALPINE-CVE-2018-12551

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON