-
Notifications
You must be signed in to change notification settings - Fork 7.6k
SoftAP suddenly change back to no password protected (Arduino Release 1.0.6 based on ESP-IDF v3.3.5) #5038
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
Comments
I also observed that the esp32 suddenly does not use a password for the access point. Some environment data:
|
Can confirm. I'm seeing the same security issue.
Custom board, using IotWebConf library. |
This is a huge vulnerability issue. Please fix this ASAP! |
if this is true, the problem is outside Arduino. You have two options: use Arduino from git + |
To verify I had the latest, I copied all from idf-release/v3.3 and put it into the Arduino core folder: Nope, didn't fix the issue. AP is still unsecured.
Unfortunately this isn't feasible for me because multiple library conflicts, and I'm not confident the bug wasn't carried into v2.0.0. 1.0.6 isn't useable with this major security bug. I'm available to test any fixes you guys have. |
OP, please explain what the expected behavior is. You are disconnecting the AP (which should clear the ssid and password), and then force enabling it without providing any credentials. Should this return an error, since the AP can't be started without an ssid, or should it do the same thing as WiFi.softAP()? |
Not the OP here, but I put something together using 2.0.0 alpha and it doesn't have the security bug like 1.0.6 does. The problem with 1.0.6 is that you can log into AP without ever entering a password. Rotzbua above had a great description of the issue. |
Rotzbua, your 5b5cbb4 commit from a few days ago fixes this problem for me. The
|
@societyofrobots Glad I could help. The |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
Yeah this is bizarre, bug has to be in SDK, or flash,or configcompare/equals I have not gotten that far into checking mem or structs.. This should never happen.. but it is, and i have no idea how to reproduce, it just happens now and then.. I added auth compare checks to catch errors as noted above but of course the problem goes away or is hard to catch , but that was my assumption also. Real cause is probably race condition with the config assert checking |
Anyone still seeing this issue? Not sure i have lately. |
While it was never fixed in the 1.x core, it was resolved in 2.0. |
Sir I am new developer now we are create a ESP8266 as server and serial port receive data and send data successfully. but I have a issue now I am change my Wi-Fi SOFTAP credentials(like SSID, PASWORD) by receive in serial monitor, so please suggest any code ? |
I have tried below code from ESP32 Arduino boards manager v1.0.6 library. I found that similar problem that password protected AP will disappear to become an OPEN softAP after reset. It will happen if softAP restarted, even reburn program (no change flash setting area).
It is working fine if using ESP32 Arduino boards manager v1.0.4 library.
Any guys know what is it going on?
The text was updated successfully, but these errors were encountered: