Fortinet Discovers Portainer Path Traversal Vulnerability
Summary
Fortinet's FortiGuard Labs has discovered a path traversal vulnerability in Portainer.
Portainer is a lightweight management UI which allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters). Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine (can be deployed as Linux container or a Windows native container, supports other platforms too). Portainer allows you to manage all your Docker resources (containers, images, volumes, networks and more).
A path traversal vulnerability exists in Portainer before 1.22.1. Successful exploitation of this vulnerability would allow an authenticated user to upload files to arbitrary location.
Solutions
User should apply the patch provided by Portainer
Timeline
Fortinet reported the vulnerability to Portainer on 25 Sept, 2019.
Portainer confirmed the vulnerability on 26 Sept, 2019.
Portainer released the patch within Portainer 1.22.1 on 11 Oct, 2019