CVE-2018-12678

Portainer before 1.18.0 supports unauthenticated requests to the websocket endpoint with an unvalidated id query parameter for the /websocket/exec endpoint…

published June 22, 2018

CVSS
—
EPSS
2%
Percentile
83.2
In the wild
Unconfirmed
What it is

⚡ Unauthenticated access is the uninvited guest at the Portainer websocket party! 🎉 This vulnerability allows attackers to slip through undetected, thanks to an unvalidated ID parameter. Imagine a restaurant where anyone can waltz into the kitchen uninvited because the door was propped open. That’s exactly what’s happening here with Portainer’s websockets—no one checks who’s coming in or why! This flaw could allow a remote attacker to bypass important access controls, giving them a free pass to execute commands or launch server-side request forgery (SSRF) attacks. That means they could potentially manipulate server operations or access sensitive data—yikes!

Put simply

Imagine a restaurant where anyone can waltz into the kitchen uninvited because the door was propped open. That’s exactly what’s happening here with Portainer’s websockets—no one checks who’s coming in or why! CVE-2018-12678 affects Portainer before version 1.18.0, allowing unauthenticated requests to the /websocket/exec endpoint due to an unvalidated ID query parameter. This oversight opens up pathways for attackers to exploit the system without any legitimate access.

What to do

This flaw could allow a remote attacker to bypass important access controls, giving them a free pass to execute commands or launch server-side request forgery (SSRF) attacks. That means they could potentially manipulate server operations or access sensitive data—yikes! To secure your Portainer instance, upgrade to version 1.18.0 or later immediately. Additionally, review your websocket configurations to ensure strict validation of parameters and enforce access control measures. Don't leave any doors propped open! You've got this! With these steps, you'll be tightening up your security like a pro. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02308 · 83.2th percentile
Published
2018-06-22T18:00Z
EPSS history
Timeline
  • 22 JUN 18:00Z
    Portainer before 1.18.0 supports unauthenticated requests to the websocket endpoint with an unvalidated id query parameter for the /websocket/exec endpoint…
    cvelistv5