PT-2013-46: Local File Include in Nagios Looking Glass
(PT-2013-46) Positive Technologies Security Advisory
Local File Include in Nagios Looking Glass
Nagios Looking Glass
Version: 1.1.0 beta 2 and earlier
Severity level: High
Impact: Files Reading
Access Vector: Remote
Base Score: 7.8
CVE: not assigned
Nagios Looking Glass (NLG) is a web-based interface for Nagios that allows you to show at-a-glance, real-time server status to 3rd parties without giving them direct access to Nagios.
The specialists of the Positive Research center have detected a Local File Include vulnerability in Nagios Looking Glass.
Application don't validates input data. That allows attackers to read config file. To exploit this vulnerability remote attacker shouldn't have privileges in Nagios Looking Glass.
Vulnerability exists in server/s3_download.php.
The issue is triggered when a remote attacker accesses the config file containing configuration settings:
base64 -d <<< $(curl "http://target.com/nlg/server/s3_download.php?action=update&filename=s3_config.inc.php")
How to fix
19.07.2013 - Vendor gets vulnerability details
13.08.2013 - Vulnerability details were sent to CERT
28.10.2013 - Public disclosure
The vulnerability was detected by Vyacheslav Egoshin, Positive Research Center (Positive Technologies Company)
Reports on the vulnerabilities previously discovered by Positive Research:
About Positive Technologies
Positive Technologies www.ptsecurity.com is among the key players in the IT security market in Russia.
The principal activities of the company include the development of integrated tools for information security monitoring (MaxPatrol); providing IT security consulting services and technical support; development of the Securitylab leading Russian information security portal.
Among the clients of Positive Technologies, there are more than 40 state enterprises, more than 50 banks and financial organizations, 20 telecommunication companies, more than 40 plant facilities, as well as IT, service and retail companies from Russia, the CIS countries, the Baltic States, China, Ecuador, Germany, Great Britain, Holland, Iran, Israel, Japan, Mexico, the Republic of South Africa, Thailand, Turkey, and the USA.
Positive Technologies is a team of highly skilled developers, advisers and experts with years of vast hands-on experience. The company specialists possess professional titles and certificates; they are the members of various international societies and are actively involved in the IT security field development.