Friday, April 12, 2024

Nagios Core < 4.2.2 : Curl Command Injection / Remote Code Execution CVE-2016-9565

Nagios offers monitoring and alerting services for servers, switches, applications and services. It alerts users when things go wrong and alerts them a second time when the problem has been resolved. For more details on Nagios.


Vulnerability in Nagios could enable remote attackers who can  manage to impersonate the feed server through DNS Poisoning, ARP Spoofing.. etc. to provide a malicious response that injects parameters to  curl command used by the affected RSS client class and effectivelyread/write arbitrary files on the vulnerable Nagios server.

This could lead to Remote Code Execution in the context of www-data/nagios user
on default Nagios installs that follow the official setup guidelines.This occurs because of using Vulnerable component for handling RSS new feeds.

This component was used by Nagios front-end to load news feeds from remote feed source upon log-in.The component was found vulnerable to CVE-2008-4796.

Full vulnerability report along including POC with relevant parts of code and Injection points can be found at :

Business Impact

Upon successful mitigation the attacker can extract sensitive data from the Nagios monitoring server as well as achieve arbitrary code execution as demonstrated by the exploit.

Corporate monitoring servers with a large number of connected hosts are often left unpatched due to their sensitive/central role on the network  which increase the chances of exploitation.

As explained in the description section, the vulnerability could be a threat  coming from the Internet. If a major ISP / DNS, or site itself was  compromised, this could potentially allow attackers to exploit the vulnerability on multiple Nagios installations which retrieve RSS feeds automatically and the corporate firewall does not stop the egress traffic from the monitoring server.

As a result, an attacker could potentially gain unauthorised access to  affected Nagios installations without even knowing the target IP addresses and despite a lack of direct access to the target (blocked igress traffic on the firewall).

Versions Affected

Both of the Nagios Core stable branches 3.x and 4.x are affected.This vulnerability was disclosed responsibly to the vendor and was fully fixed in Nagios Core 4.2.2. Ensure that you are using  Nagios 4.2.2.

Update to the Latest Nginx Core release. For more details in upgrading Nagios on Linux  refer 2daygeek .

  1. In the IPS tab, click Protections and find the Nagios XI Command Injection&nbsp;protection using the Search tool and Edit the protection’s settings.
  2. Install policy on all modules.



Latest articles

6-year-old Lighttpd Flaw Impacts Intel And Lenovo Servers

The software supply chain is filled with various challenges, such as untracked security vulnerabilities...

Hackers Employ Deepfake Technology To Impersonate as LastPass CEO

A LastPass employee recently became the target of an attempted fraud involving sophisticated audio...

Sisence Data Breach, CISA Urges To Reset Login Credentials

In response to a recent data breach at Sisense, a provider of data analytics...

DuckDuckGo Launches Privacy Pro: 3-in-1 service With VPN

DuckDuckGo has launched Privacy Pro, a new subscription service that promises to enhance user...

Cyber Attack Surge by 28%:Education Sector at High Risk

In Q1 2024, Check Point Research (CPR) witnessed a notable increase in the average...

Midnight Blizzard’s Microsoft Corporate Email Hack Threatens Federal Agencies: CISA Warns

The Cybersecurity and Infrastructure Security Agency (CISA) has issued an emergency directive concerning a...

Taxi App Vendor Data Leak: 300K Passengers Data Exposed

Around 300,000 taxi passengers' personal information was left exposed on the internet, causing concern...
Guru baran
Guru baran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Top 3 SME Attack Vectors

Securing the Top 3 SME Attack Vectors

Cybercriminals are laying siege to small-to-medium enterprises (SMEs) across sectors. 73% of SMEs know they were breached in 2023. The real rate could be closer to 100%.

  • Stolen credentials
  • Phishing
  • Exploitation of vulnerabilities

Related Articles