-
Notifications
You must be signed in to change notification settings - Fork 194
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
webserver buffer overflow when processing requested url #414
Comments
i think this is exploitable on arm debian since there is no stack smashing detection. |
@sploitem I'm facing the same issue, 6lbr.log : |
On my machine |
In my case the [bbbb::100] becomes unreachable as soon as buffer overflows appears in 6lbr.log |
I don't think this issue is a root cause of your crash, 'cause this issue requires a request with a long url like this: [bbbb::101]/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.html Check the 6lbr log for operation due to it's restart. |
Also i suggest you to use contiki-ng instead this one. |
Yeah I don't enter any long URL. Mine crashes when I start to navigate the tabs (sensors, config, admin etc.) on the webpage and the log only shows Web: buffer overflow How can I use 6lbr from contiki-NG? I configured cetic 6lbr this using this guide and built it using |
Your 6lbr was built with contiki or contiki-ng ? |
It was built using contiki-ng and the crash was random it wasn't caused by any specific tab. |
if u enter url like this:
[bbbb::100]/AAAAAAAAAAAAAAAAA.....AAAAAAAA (len = 1000)
it will crash with stack smashing.
because of strcat - https://github.com/cetic/6lbr/blob/develop/examples/6lbr/apps/6lbr-webserver/httpd.c#L119
The text was updated successfully, but these errors were encountered: