Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Privilege-escalation-MitraStar — Privilege escalation vulnerability on MitraStar routers | Kitploit
Tools/GitHubGitHub/leoservalli/privilege-escalation-mitrastar
Privilege EscalationIoT SecurityVulnerability AnalysisExploitation
GitHubleoservalli/privilege-escalation-mitrastar

Privilege-escalation-MitraStar

Privilege escalation vulnerability on MitraStar routers

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
1543 years agoNot yet reviewed

Privilege-escalation-MitraStar-Router-GPT-2541GNAC-N1

CVE-2021-42165

Privilege escalation vulnerability on MitraStar routers

Device: Mitrastar GPT-2541GNAC-N1

Firmware: BR_g3.5_100VNZ0b33 (not tested in other version)

Exploit:

Mitrastar GPT-2541GNAC-N1 devices are provided with access through ssh into a restricted default shell:

image

The restricted shell has CLI Version “Reduced_CLI_HGU_v15”, and the environment is restricted to avoid execution of common linux/unix commands.

image

The command “deviceinfo show file ” is supposed to be 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 in the "path" value. By using “&&/bin/bash” as parameter value we can spawn a busybox/ash console, as seen on the next image:

image

So it is possible to escalate privileges by spawning a full interoperable console with root privileges (see next image):

image

Through this escalation we can change the content of /etc/passwd (/var/passwd), create new users, or change any other system resource permanently.

The user “support” is provided printed on the back of the router. In some cases, this routers use default credentials.

Download Tool