Friday, November 15, 2024
HomeData BreachNagios Core < 4.2.2 : Curl Command Injection / Remote...

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

Published on

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

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.

- Advertisement - SIEM as a Service

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 : https://legalhackers.com/advisories/Nagios-Exploit-Command-Injection-CVE-2016-9565-2008-4796.html

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 nagios.org 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.

References

Gurubaran
Gurubaran
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.

Latest articles

Critical TP-Link DHCP Vulnerability Let Attackers Execute Arbitrary Code Remotely

A critical security flaw has been uncovered in certain TP-Link routers, potentially allowing malicious...

Chinese SilkSpecter Hackers Attacking Black Friday Shoppers

SilkSpecter, a Chinese financially motivated threat actor, launched a sophisticated phishing campaign targeting e-commerce...

Cybercriminals Launch SEO Poisoning Attack to Lure Shoppers to Fake Online Stores

The research revealed how threat actors exploit SEO poisoning to redirect unsuspecting users to...

Black Basta Ransomware Leveraging Social Engineering For Malware Deployment

Black Basta, a prominent ransomware group, has rapidly gained notoriety since its emergence in...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Automating Identity and Access Management for Modern Enterprises

Keeping track of who has access and managing their permissions has gotten a lot...

Maximise Crypto Mining Profitability: Strategies For Success In 2023 

Diving into the world of crypto mining has always intrigued me. The allure of...

Mastering Crypto Wallet Management: Secure Your Digital Assets With Confidence 

Navigating the world of cryptocurrencies can feel like unlocking a new frontier. I remember...