Lucene search
K

webgrind 1.0 (file param) Local File Inclusion Vulnerability

🗓️ 25 Feb 2012 00:00:00Reported by Michael MeyerType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 77 Views

webgrind 1.0 file param Local File Inclusion Vulnerability. Exposure of System Information and Sensitive Information risk

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-1790
25 Feb 201200:00
circl
CVE
CVE-2012-1790
19 Mar 201218:00
cve
Cvelist
CVE-2012-1790
19 Mar 201218:00
cvelist
NVD
CVE-2012-1790
19 Mar 201218:55
nvd
Prion
Path traversal
19 Mar 201218:55
prion
Veracode
Path Traversal
29 May 201701:40
veracode
<html><body><p>webgrind 1.0 (file param) Local File Inclusion Vulnerability


Vendor: Joakim Nygard and Jacob Oettinger
Product web page: http://code.google.com/p/webgrind
Affected version: 1.0 (v1.02 in trunk on github)

Summary: Webgrind is an Xdebug profiling web frontend in PHP5.

Desc: webgrind suffers from a file inclusion vulnerability (LFI)
when input passed thru the 'file' parameter to index.php is not
properly verified before being used to include files. This can be
exploited to include files from local resources with directory
traversal attacks and URL encoded NULL bytes.

----------------------------------------
/index.php:
-----------

122: case 'fileviewer':
123:     $file = get('file');
124:     $line = get('line');

----------------------------------------

Tested on: Microsoft Windows XP Professional SP3 (EN)
           Apache 2.2.21
           PHP 5.3.9
           MySQL 5.5.20


Vulnerability discovered by Michael Meyer
                            michael.meyer greenbone net


Vendor status:

[22.02.2012] Vulnerability discovered.
[22.02.2012] Vendor notified.
[24.02.2012] No response from the vendor.
[25.02.2012] Public security advisory released.


Advisory ID: ZSL-2012-5075
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5075.php

Vendor: http://code.google.com/p/webgrind/issues/detail?id=66


22.02.2012

---


 http://<host>/webgrind/index.php?file=/etc/passwd&amp;op=fileviewer
 http://<host>/webgrind/index.php?file=/boot.ini&amp;op=fileviewer
</host></host></p></body></html>

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