Lucene search
K

Weathermap 0.97c (editor.php, mapname param) - Local File Inclusion

🗓️ 11 Jun 2013 00:00:00Reported by Anthony DubuissezType 
zdt
 zdt
🔗 0day.today👁 35 Views

Local File Inclusion in Weathermap 0.97

Code
I. VULNERABILITY -------------------------
Local File Inclusion in Weathermap <= 0.97C
 
II. BACKGROUND -------------------------
 
Network Weathermap is a network visualisation tool, to take data you already have and show you an overview of your network in map form. Support is built in for RRD, MRTG (RRD and old log-format), and tab-delimited text files. Other sources are via plugins or external scripts.
 
III. DESCRIPTION -------------------------
Network Weathermap 0.97C and lower versions contain a flaw that allows a local file inclusion attack. This flaw exists because the application does not properly sanitise the parameter "mapname" in the editor.php file. This allows an attacker to create a specially crafted URL to include any ".config" file on the web server, you can bypass the ".config" restriction filter with a php bug.
 
the editor.php must be enabled to successfully exploit.
 
IV. PROOF OF CONCEPT -------------------------
LFI: http://server/editor.php?action=show_config&mapname=../../../../../../../../../etc/apache2/apache2.conf
 
V. BUSINESS IMPACT -------------------------
LFI: With a php bug we can include any file that the webserver has right to read, including sensitive config files ( php file too, because it's not executed but read with fopen) .
 
VI. SYSTEMS AFFECTED -------------------------
Network Weathermap 0.97C and lower versions
 
VII. SOLUTION -------------------------
sanitize correctly the mapname parameter.
 
TEMP SOLUTION : disable editor.php
 
VIII. REFERENCES -------------------------
http://www.webera.fr/advisory-01-network-weathermap-local-file-inclusion-exploit
 
IX. CREDITS ------------------------- 
the vulnerability has been discovered by Anthony Dubuissez (anthony (dot) dubuissez (at) webera (dot) fr).
 
X. DISCLOSURE TIMELINE -------------------------
June 01, 2013: Vulnerability acquired by Webera
June 03, 2013: Sent to vendor.
June 06, 2013: No reply of vendor, sent second email.
June 10, 2013: No reply of vendor, Advisory published and sent to lists.
 
XI. LEGAL NOTICES -------------------------
The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise.Webera accepts no responsibility for any damage caused by the use or misuse of this information.

#  0day.today [2018-01-10]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation