usd-2018-0027 | Icinga Web 2/2.6.1

Advisory ID: usd-2018-0027
CVE number: CVE-2018-18246
Affected Product: Icinga Web 2
Affected Version: 2.6.1
Vulnerability Type: Cross-site request forgery
Security Risk: Medium
Vendor URL: https://www.icinga.com/
Vendor Status: Fixed

Description

In a CSRF attack the attacker can take actions of the web application in behalf of the victim.
Therefore the user has to click on a malicious link of the attacker while being logged in to the web application.

Due to the CSRF vulnerability, the attacker can enable or disable modules.

Proof of Concept

Attacks need to target an authenticated user with sufficient privileges. The CSRF attack simply needs to send the victim to the following URLs:

GET request to /icingaweb2/config/moduledisable?name=monitoring
disables the monitoring module.

GET request to /icingaweb2/config/moduleenable?name=setup
enables the setup module.

Fix

Convert requests to HTTP POST and make sure that requests which change the state of the application have a valid CSRF token.

Timeline

  • 2018-09-12 First contact request via security@icinga.com
  • 2018-10-02 Vendor received advisories via security@icinga.com
  • 2018-10-11 CVE-ID requested
  • 2018-10-12 received CVE ID and notified vendor about it
  • 2018-11-09 extended public disclosure deadline to 2018-11-25
  • 2018-11-23 vendor states to have fixed the vulnerability in Icinga Web 2 v2.6.2
  • 2018-12-07 Security advisory released

Credits

The security vulnerability was found by Maximilian Boehner of usd AG.

ABOUT usd SECURITY ADVISORIES

In order to protect businesses against hackers and criminals, we always have to keep our skills and knowledge up to date. Thus, security research is just as important for our work as is building up a security community to promote the exchange of knowledge. After all, more security can only be achieved if many individuals take on the task.

Our CST Academy and our usd HeroLab are essential parts of our security mission. We share the knowledge we gain in our practical work and our research through training courses and publications. In this context, the usd HeroLab publishes a series of papers on new vulnerabilities and current security issues.

Always for the sake of our mission: „more security.“

to usd AG


In accordance with usd AG’s Responsible Disclosure Policy, all vendors have been notified of the existence of these vulnerabilities.

Disclaimer

The information provided in this security advisory is provided „as is“ and without warranty of any kind. Details of this security advisory may be updated in order to provide as accurate information as possible.