Zero-Day Advisory

Fortinet Discovers Portainer Cross-Site Scripting Vulnerability II

Summary

Fortinet's FortiGuard Labs has discovered a Cross-Site Scripting 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 Stored Cross-Site Scripting vulnerability exists in file removal confirmation modal in Portainer before 1.22.1. Successful exploitation of this vulnerability would allow an authenticated user to inject arbitrary Javascript into Portainer pages viewed by other users.

Solutions

Users 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

Acknowledgement

This vulnerability was discovered by Tin Duong of Fortinet's FortiGuard Labs

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.