Advisories

Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 Authorization Bypass via WebSocket Attach and Exec

Go back
Severity
high
Date
Affecting
  • Portainer >= 2.39.0, < 2.39.9

  • Portainer >= 2.40.0, < 2.45.4

  • Portainer >= 3.0.0, < 3.1.0

CWE
  • CWE-639 Authorization Bypass Through User-Controlled Key
CVSS
8.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec), Shahid-BugB, KutalVolkan, C-h4ck-0, zenniskayy2k4, tsug0d, d3do-23, danieltk76, rotemkama, xclow3n, tao0845, huynvi, k4z01
Description
Portainer 2.39.0 before 2.39.9, 2.40.0 before 2.45.4, and 3.0.0 before 3.1.0 contains an authorization bypass vulnerability that allows Standard users to access other users' containers via the WebSocket attach and exec endpoints. Attackers with shared environment access can use leaked container or exec IDs to hijack sessions over /api/websocket/attach or /api/websocket/exec, gaining interactive root shells.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.