Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tested on the AC2350 AIOT #46

Closed
jww-cw opened this issue Nov 26, 2020 · 8 comments
Closed

tested on the AC2350 AIOT #46

jww-cw opened this issue Nov 26, 2020 · 8 comments

Comments

@jww-cw
Copy link

jww-cw commented Nov 26, 2020

Unfortunately this did not work on the AC2350 AIOT https://www.mi.com/global/mi-aiot-router-ac2350/

prime@ubuntu:/tmp/OpenWRTInvasion$ python3 remote_command_execution_vulnerability.py
Router IP address [press enter for using the default 192.168.31.1]: 192.168.1.131
stok: XXXXX
****************
router_ip_address: 192.168.1.131
stok: XXXXX
****************
start uploading config file...
start exec command...
done! Now you can connect to the router using several options: (user: root, password: root)
* telnet 192.168.1.131
* ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected]
* ftp: using a program like cyberduck
prime@ubuntu:/tmp/OpenWRTInvasion$ telnet 192.168.1.131
Trying 192.168.1.131...
telnet: Unable to connect to remote host: Connection refused
prime@ubuntu:/tmp/OpenWRTInvasion$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected]
ssh: connect to host 192.168.1.131 port 22: Connection refused
prime@ubuntu:/tmp/OpenWRTInvasion$
@jww-cw
Copy link
Author

jww-cw commented Nov 26, 2020

FW version "version":"3.0.36"

@acecilia
Copy link
Owner

Thanks for reporting it 👍 I will update the readme

@eisaev
Copy link

eisaev commented Jan 3, 2021

Unfortunately, so far on this model, the only working method requires a second access point with the ability to respond to an http request. I used what was at hand: a very old ASUS WL-500gP with Entware firmware and nginx. But on a router with OpenWRT, this is even easier. See details here: https://forum.openwrt.org/t/adding-openwrt-support-for-xiaomi-ax3600/55049/766
I used a slightly different API, but the principle is the same:

api/xqsystem/extendwifi_connect_inited_router?
ssid=apssid&password=RealPassword&encryption=WPA2PSK&enctype=AES&channel=11&band=2g&admin_username=user&admin_password=pwd&admin_nonce=xxx

The values of the parameters starting with admin_ are not important, and the remaining parameters must correspond to the settings of the second access point.

@dobosz23
Copy link

dobosz23 commented Jan 8, 2021

Good evening
I also have a Xiaomi AIoT AC2350 router and I'm trying to connect via SSH to upload the Padavan software. I tried to start by connecting through the DAP-1635 extedner but I don't know what I'm doing wrong because it still doesn't work. Can I count on a more detailed instruction what to do?

@eisaev
Copy link

eisaev commented Jan 9, 2021

@dobosz23, I am not sure that this discussion is appropriate here, because the methods that I will describe cannot be implemented in OpenWRTInvasion, because they require physical manipulation. I suggest moving the discussion of methods to a topic on the OpenWRT forum: https://forum.openwrt.org/t/support-aiot-ac2350-xiaomi/70451/26

@dobosz23
Copy link

dobosz23 commented Jan 9, 2021

Of course, thank you for the quick reply

@dobosz23
Copy link

dobosz23 commented Feb 7, 2021

I run on the firmware 1.3.8 CN an succesfully open SSH connection:

I run command as root and connect not a:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected]
but:
ssh [email protected]

@eisaev
Copy link

eisaev commented Nov 2, 2021

I run on the firmware 1.3.8 CN an succesfully open SSH connection:

I run command as root and connect not a: ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected] but: ssh [email protected]

It was a mistake. SSH access was obtained by a different method. Reproducing using OpenWRTInvasion failed:
https://forum.openwrt.org/t/support-aiot-ac2350-xiaomi/70451/86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants