-
Notifications
You must be signed in to change notification settings - Fork 143
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
Bug Softap without encryption #182
Comments
If you are right, this MUST be fixed ASAP. |
I cannot reproduce this. Please check the console: |
I took some code from the mqtt example. I erased the complete flash of the esp32 and compiler cache and build the application again to avoid interference with old config. The output is:
|
Do you provide any password for the AP?
|
Yes, I compiled my project with Did you test it with an esp32 or an eps8266? |
Ok, I found an issue, seems to be an framework bug: espressif/arduino-esp32#5038 |
Thank you for pointing this out! |
Confirming. I'm also seeing this serious security issue. Unfortunately when I revert back to 1.0.4, I run into incompatibilities with other libraries I'm using. Is there any quick fix that can be done via IotWebConf? How can we get the attention of the core developers? |
Force HTTP Auth like on lan access would be an solution. This would be vulnerable to sniffing but better than an non auth access to the conf. |
Can we somehow detect from the software whether we have an unprotected AP set up? |
How could I do this? The sniffing vulnerability isn't an issue for me in the short term.
I set to verbose and this is all it gave me when connecting by AP unsecured:
I'd assume it had to be one of these changes in the last few months that broke it? |
@societyofrobots You are using Arduino IDE right? Then you can try the development version |
Just tried using an IotWebConf demo example. This security bug does not exist in 2.0.0-alpha1. Yay! I'm getting some unrelated conflicts in my own core software, but maybe I'll be able to work around them. |
Just with basic esp framework functions. // required include
extern "C"
{
#include <esp_wifi.h>
}
// in code
wifi_config_t conf_current;
esp_wifi_get_config(WIFI_IF_AP, &conf_current);
if(conf_current.ap.authmode==WIFI_AUTH_OPEN){
// unprotected
} |
The problems should be fixed with Arduino IDE ESP32 board framework Platformio is pending: platformio/platform-espressif32#619 |
Edit: seems to be an error in the esp32 arduino framework, see below
Environment
Chipset: eps32
Board: heltec_wifi_kit_32
Iotwebconf: 3.0.1
Compiler: PlatformIO 5.1.1
Partition: min_spiffs
Problem
Softap is unencrypted.
Reproduce
I do not know how this exactly could happen.
I use custom configuration.
Maybe I changed layout without updating the version number for eeprom storage.edit: after a second test: after restart or no configured wifi the device starts an unencrypted ap.
Expected behavior
If no valid password is available from config -> fallback to initial compiled password instead of open ap.
The text was updated successfully, but these errors were encountered: