<p dir="ltr">Hi,</p>
<p dir="ltr">Le 13 sept. 2015 16:34, "Daniel Dickinson" <<a href="mailto:openwrt@daniel.thecshore.com">openwrt@daniel.thecshore.com</a>> a écrit :<br>
><br>
> Actually two far more useful solutions:<br>
><br>
> 1) By default only answer requests from 'lan' network in /etc/config/uhttp instead of <a href="http://0.0.0.0/32">0.0.0.0/32</a><br>
> 2) Some useful alert if what appears to be a firewally misconfiguration is created (default OpenWrt firewall block LuCI on WAN, therefore the current issue is that by default uhttpd listens on all addresses, not just lan AND user has broken their firewall and allowed HTTP access to the router on the WAN in the *firewall* config.<br>
><br>
> Of the two 2) is harder and takes more work.<br>
><br>
> Regards,<br>
><br>
> Daniel<br>
><br>
><br>
> On 2015-09-13 10:28 AM, Daniel Dickinson wrote:<br>
>><br>
>> Quite frankly if someone has unintionally exposed LuCI to the internet I<br>
>> think they've got a lot bigger problem than exposed version information,<br>
>> and that not putting the version information at best delays only very<br>
>> slightly a would be attacker.<br>
>><br>
>> And for properly configured installs, the version information is<br>
>> extremely useful for doing support and such like.<br>
>><br>
>> Not that it likely means much, by vote is against such weak bandaid to<br>
>> what is fundamentally an issue a user creates for themselves that is<br>
>> much larger than the details of what's on the screen.<br>
>><br>
>> What would be more relevent solution is for LuCI to have a banner that<br>
>> indicates that the LuCI is visible on the WAN, thus alerting the user to<br>
>> a misconfiguration, if it is that.<br>
>><br>
>> Regards,<br>
>><br>
>> Daniel<br>
>><br>
>> On 2015-09-13 10:21 AM, MauritsVB wrote:<br>
>>><br>
>>> At the moment the OpenWRT www login screen provides *very* detailed<br>
>>> version information before anyone has even entered a password. It<br>
>>> displays not just “15.05” or “Chaos Calmer” but even the exact git<br>
>>> version on the banner.<br>
>>><br>
>>> While it’s not advised to open this login screen to the world, fact is<br>
>>> that it does happen intentionally or accidentally. Just a Google<br>
>>> search for “Powered by LuCI Master (git-“ will provide many accessible<br>
>>> OpenWRT login screens, including exact version information.<br>
>>><br>
>>> As soon as someone discovers a vulnerability in a OpenWRT version all<br>
>>> an attacker needs to do is perform a Google search to find many<br>
>>> installations with versions that are vulnerable (even if a patch is<br>
>>> already available).<br>
>>><br>
>>> In the interest of hardening the default OpenWRT install, can I<br>
>>> suggest that by default OpenWRT doesn’t disclose the version (not even<br>
>>> 15.05 or “Chaos Calmer”) on the login screen? For extra safety I would<br>
>>> even suggest to leave “OpenWRT” off the login screen, the only people<br>
>>> who should use this screen already know it’s running OpenWRT.<br>
>>><br>
>>> Any thoughts?<br>
>>><br>
>>> Maurits<br>
>>> </p>
<p dir="ltr">You should patch openwrt to add robots.txt<br>
Hidding version doesn't really slow down attack, default config is safe, so for me all is OK.<br>
</p>