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

monkeyd crashes when scanned with hmap.py (memory corruption) #315

Open
marboi opened this issue Jul 14, 2020 · 0 comments
Open

monkeyd crashes when scanned with hmap.py (memory corruption) #315

marboi opened this issue Jul 14, 2020 · 0 comments

Comments

@marboi
Copy link

marboi commented Jul 14, 2020

$ python2.7 ./hmap.py http://127.0.0.1:2001/
Get it at https://raw.githubusercontent.com/Mebus/hmap/master/hmap.py
...

(gdb) c
Continuing.
[2020/07/14 20:53:52] [   Info] HTTP Server started
*** buffer overflow detected ***: /usr/sbin/monkey terminated

Thread 10 "monkey: wrk/7" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7d9155d in __GI_abort () at abort.c:79
#2  0x00007ffff7deadcf in __libc_message (action=<optimized out>, 
    fmt=fmt@entry=0x7ffff7ef2d4c "*** %s ***: %s terminated\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff7e79b6d in __GI___fortify_fail_abort (
    need_backtrace=need_backtrace@entry=true, 
    msg=msg@entry=0x7ffff7ef2cd8 "buffer overflow detected")
    at fortify_fail.c:28
#4  0x00007ffff7e79ba3 in __GI___fortify_fail (
    msg=msg@entry=0x7ffff7ef2cd8 "buffer overflow detected")
    at fortify_fail.c:44
#5  0x00007ffff7e78532 in __GI___chk_fail () at chk_fail.c:28
#6  0x000055555555f4e9 in mk_http_init ()
#7  0x00005555555606d0 in mk_http_sched_read ()
#8  0x000055555555e3c3 in mk_sched_event_read ()
#9  0x000055555556340b in mk_server_worker_loop ()
#10 0x000055555555dd7d in mk_sched_launch_worker_loop ()
#11 0x00007ffff7f37ea7 in start_thread (arg=<optimized out>)
    at pthread_create.c:479
#12 0x00007ffff7e69f1f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) 
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

1 participant