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

buffer overflow #10

Closed
yhojann-cl opened this issue Apr 2, 2016 · 1 comment
Closed

buffer overflow #10

yhojann-cl opened this issue Apr 2, 2016 · 1 comment

Comments

@yhojann-cl
Copy link

....
ACCOUNT CHECK: [mssql] Host: **** (1 of 1, 0 complete) User: sa (1 of 1, 0 complete) Password: aaabne (1019 of 229422226 complete)
ACCOUNT CHECK: [mssql] Host: **** (1 of 1, 0 complete) User: sa (1 of 1, 0 complete) Password: aaabnf (1020 of 229422226 complete)
*** buffer overflow detected ***: medusa terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78c4e)[0x7f813d22fc4e]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f813d2cfe8c]
/lib/x86_64-linux-gnu/libc.so.6(+0x116e80)[0x7f813d2cde80]
/lib/x86_64-linux-gnu/libc.so.6(+0x118dd7)[0x7f813d2cfdd7]
medusa(medusaConnectInternal+0x47a)[0x4093da]
medusa(medusaConnect+0x43)[0x409ac3]
/usr/lib/medusa/modules/mssql.mod(connectMSSQL+0xcf)[0x7f80ce1244ef]
/usr/lib/medusa/modules/mssql.mod(initModule+0x115)[0x7f80ce125255]
/usr/lib/medusa/modules/mssql.mod(go+0x41)[0x7f80ce125431]
medusa(startModule+0x3d)[0x40638d]
medusa[0x408725]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76aa)[0x7f813dcf86aa]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f813d2bdeed]
======= Memory map: ========
00400000-00410000 r-xp 00000000 08:01 482155                             /usr/bin/medusa
0060f000-00610000 r--p 0000f000 08:01 482155                             /usr/bin/medusa
00610000-00611000 rw-p 00010000 08:01 482155                             /usr/bin/medusa
01d87000-01da8000 rw-p 00000000 00:00 0                                  [heap]
7f80c0000000-7f80c0021000 rw-p 00000000 00:00 0 
7f80c0021000-7f80c4000000 ---p 00000000 00:00 0 
7f80c8000000-7f80c8021000 rw-p 00000000 00:00 0 
7f80c8021000-7f80cc000000 ---p 00000000 00:00 0 
7f80cdf0d000-7f80cdf23000 r-xp 00000000 08:01 5243917                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f80cdf23000-7f80ce122000 ---p 00016000 08:01 5243917                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f80ce122000-7f80ce123000 rw-p 00015000 08:01 5243917                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f80ce123000-7f80ce127000 r-xp 00000000 08:01 482158                     /usr/lib/medusa/modules/mssql.mod
7f80ce127000-7f80ce326000 ---p 00004000 08:01 482158                     /usr/lib/medusa/modules/mssql.mod
7f80ce326000-7f80ce327000 r--p 00003000 08:01 482158                     /usr/lib/medusa/modules/mssql.mod
7f80ce327000-7f80ce328000 rw-p 00004000 08:01 482158                     /usr/lib/medusa/modules/mssql.mod
7f80ce328000-7f80ce329000 ---p 00000000 00:00 0 
7f80ce329000-7f80ceb29000 rw-p 00000000 00:00 0                          [stack:8393]
7f80ceb29000-7f80ceb40000 r-xp 00000000 08:01 5275939                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f80ceb40000-7f80ced40000 ---p 00017000 08:01 5275939                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f80ced40000-7f80ced42000 r--p 00017000 08:01 5275939                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f80ced42000-7f80ced43000 rw-p 00019000 08:01 5275939                    /lib/x86_64-linux-gnu/libresolv-2.21.so
7f80ced43000-7f80ced45000 rw-p 00000000 00:00 0 
7f80ced45000-7f80ced4a000 r-xp 00000000 08:01 5275955                    /lib/x86_64-linux-gnu/libnss_dns-2.21.so
7f80ced4a000-7f80cef49000 ---p 00005000 08:01 5275955                    /lib/x86_64-linux-gnu/libnss_dns-2.21.so
7f80cef49000-7f80cef4a000 r--p 00004000 08:01 5275955                    /lib/x86_64-linux-gnu/libnss_dns-2.21.so
7f80cef4a000-7f80cef4b000 rw-p 00005000 08:01 5275955                    /lib/x86_64-linux-gnu/libnss_dns-2.21.so
7f80cef4b000-7f80cef4d000 r-xp 00000000 08:01 5246985                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f80cef4d000-7f80cf14c000 ---p 00002000 08:01 5246985                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f80cf14c000-7f80cf14d000 r--p 00001000 08:01 5246985                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f80cf14d000-7f80cf14e000 rw-p 00002000 08:01 5246985                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f80cf14e000-7f80cf15a000 r-xp 00000000 08:01 5275940                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f80cf15a000-7f80cf359000 ---p 0000c000 08:01 5275940                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f80cf359000-7f80cf35a000 r--p 0000b000 08:01 5275940                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f80cf35a000-7f80cf35b000 rw-p 0000c000 08:01 5275940                    /lib/x86_64-linux-gnu/libnss_files-2.21.so
7f80cf35b000-7f80cf35c000 ---p 00000000 00:00 0 
7f80cf35c000-7f813d1b7000 rw-p 00000000 00:00 0                          [stack:8392]
7f813d1b7000-7f813d377000 r-xp 00000000 08:01 5275957                    /lib/x86_64-linux-gnu/libc-2.21.so
7f813d377000-7f813d577000 ---p 001c0000 08:01 5275957                    /lib/x86_64-linux-gnu/libc-2.21.so
7f813d577000-7f813d57b000 r--p 001c0000 08:01 5275957                    /lib/x86_64-linux-gnu/libc-2.21.so
7f813d57b000-7f813d57d000 rw-p 001c4000 08:01 5275957                    /lib/x86_64-linux-gnu/libc-2.21.so
7f813d57d000-7f813d581000 rw-p 00000000 00:00 0 
7f813d581000-7f813d688000 r-xp 00000000 08:01 5275949                    /lib/x86_64-linux-gnu/libm-2.21.so
7f813d688000-7f813d887000 ---p 00107000 08:01 5275949                    /lib/x86_64-linux-gnu/libm-2.21.so
7f813d887000-7f813d888000 r--p 00106000 08:01 5275949                    /lib/x86_64-linux-gnu/libm-2.21.so
7f813d888000-7f813d889000 rw-p 00107000 08:01 5275949                    /lib/x86_64-linux-gnu/libm-2.21.so
7f813d889000-7f813d890000 r-xp 00000000 08:01 5275953                    /lib/x86_64-linux-gnu/librt-2.21.so
7f813d890000-7f813da8f000 ---p 00007000 08:01 5275953                    /lib/x86_64-linux-gnu/librt-2.21.so
7f813da8f000-7f813da90000 r--p 00006000 08:01 5275953                    /lib/x86_64-linux-gnu/librt-2.21.so
7f813da90000-7f813da91000 rw-p 00007000 08:01 5275953                    /lib/x86_64-linux-gnu/librt-2.21.so
7f813da91000-7f813dae7000 r-xp 00000000 08:01 5271627                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f813dae7000-7f813dce6000 ---p 00056000 08:01 5271627                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f813dce6000-7f813dcea000 r--p 00055000 08:01 5271627                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f813dcea000-7f813dcf1000 rw-p 00059000 08:01 5271627                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f813dcf1000-7f813dd09000 r-xp 00000000 08:01 5275936                    /lib/x86_64-linux-gnu/libpthread-2.21.so
7f813dd09000-7f813df09000 ---p 00018000 08:01 5275936                    /lib/x86_64-linux-gnu/libpthread-2.21.so
7f813df09000-7f813df0a000 r--p 00018000 08:01 5275936                    /lib/x86_64-linux-gnu/libpthread-2.21.so
7f813df0a000-7f813df0b000 rw-p 00019000 08:01 5275936                    /lib/x86_64-linux-gnu/libpthread-2.21.so
7f813df0b000-7f813df0f000 rw-p 00000000 00:00 0 
7f813df0f000-7f813df12000 r-xp 00000000 08:01 5275930                    /lib/x86_64-linux-gnu/libdl-2.21.so
7f813df12000-7f813e111000 ---p 00003000 08:01 5275930                    /lib/x86_64-linux-gnu/libdl-2.21.so
7f813e111000-7f813e112000 r--p 00002000 08:01 5275930                    /lib/x86_64-linux-gnu/libdl-2.21.so
7f813e112000-7f813e113000 rw-p 00003000 08:01 5275930                    /lib/x86_64-linux-gnu/libdl-2.21.so
7f813e113000-7f813e2cb000 r-xp 00000000 08:01 5271628                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f813e2cb000-7f813e4ca000 ---p 001b8000 08:01 5271628                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f813e4ca000-7f813e4e7000 r--p 001b7000 08:01 5271628                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f813e4e7000-7f813e4f3000 rw-p 001d4000 08:01 5271628                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f813e4f3000-7f813e4f7000 rw-p 00000000 00:00 0 
7f813e4f7000-7f813e51b000 r-xp 00000000 08:01 5275935                    /lib/x86_64-linux-gnu/ld-2.21.so
7f813e6e5000-7f813e6ea000 rw-p 00000000 00:00 0 
7f813e715000-7f813e71a000 rw-p 00000000 00:00 0 
7f813e71a000-7f813e71b000 r--p 00023000 08:01 5275935                    /lib/x86_64-linux-gnu/ld-2.21.so
7f813e71b000-7f813e71c000 rw-p 00024000 08:01 5275935                    /lib/x86_64-linux-gnu/ld-2.21.so
7f813e71c000-7f813e71d000 rw-p 00000000 00:00 0 
7ffc6eb42000-7ffc6eb63000 rw-p 00000000 00:00 0                          [stack]
7ffc6ebae000-7ffc6ebb0000 r--p 00000000 00:00 0                          [vvar]
7ffc6ebb0000-7ffc6ebb2000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
^C^C^C^C
@jmk-foofus
Copy link
Owner

Not enough info to debug.

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

2 participants