PT-2013-46: Local File Include in Nagios Looking Glass

(PT-2013-46) Positive Technologies Security Advisory
Local File Include in Nagios Looking Glass

Vulnerable software

Nagios Looking Glass
Version: 1.1.0 beta 2 and earlier

Link:
http://exchange.nagios.org/directory/Addons/Frontends-(GUIs-and-CLIs)/Web-Interfaces/Nagios-Looking-Glass/details

Severity level

Severity level: High
Impact: Files Reading
Access Vector: Remote

CVSS v2:
Base Score: 7.8
Vector: (AV:N/AC:L/Au:N/C:C/I:N/A:N)

CVE: not assigned

Software description

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.

Vulnerability description

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

No solution

Advisory status

19.07.2013 - Vendor gets vulnerability details
13.08.2013 - Vulnerability details were sent to CERT
28.10.2013 - Public disclosure

Credits

The vulnerability was detected by Vyacheslav Egoshin, Positive Research Center (Positive Technologies Company)

References

http://en.securitylab.ru/lab/PT-2013-46

Reports on the vulnerabilities previously discovered by Positive Research:

http://www.ptsecurity.com/research/advisory/
http://en.securitylab.ru/lab/

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.