CVE-2018-18249 Code injection in n/a
Attackers can inject PHP ini-file directives via environment variables in Icinga Web 2, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-18249?
CVE-2018-18249 is a critical code injection vulnerability in n/a, published on 17 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Icinga Web 2 before 2.6.2 allows injection of PHP ini-file directives via vectors involving environment variables as the channel to send information to the attacker, such as a name=${PATH}_${APACHE_RUN_DIR}_${APACHE_RUN_USER} parameter to /icingaweb2/navigation/add or /icingaweb2/dashboard/new-dashlet.
Weakness: CWE-94
Which versions are affected by CVE-2018-18249?
It affects 1 product.
Products include Icinga Icinga Web 2.
How do I fix CVE-2018-18249?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-18249 being exploited?
There is no known exploitation of CVE-2018-18249 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-18249, GHSA-h88r-wm6r-9ghp, UBUNTU-CVE-2018-18249.