crackerjack icon indicating copy to clipboard operation
crackerjack copied to clipboard

GNU Screen buffer overflow

Open KubaPro010 opened this issue 9 months ago • 2 comments

Couldn't run a session so checked what happened, as it turns out, this happens:

[user@koparka ~]$ screen -x 1_admin_5WVb_1 -X stuff "test"
*** buffer overflow detected ***: terminated
Aborted (core dumped)

That sometimes happens, but on crackerjack always:

May 02 17:11:40 koparka systemd-coredump[687924]: [🡕] Process 687909 (screen) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 687909:
                                                  #0  0x00007f0d1b15b624 n/a (libc.so.6 + 0x97624)
                                                  #1  0x00007f0d1b101ba0 raise (libc.so.6 + 0x3dba0)
                                                  #2  0x00007f0d1b0e9582 abort (libc.so.6 + 0x25582)
                                                  #3  0x00007f0d1b0ea3bf n/a (libc.so.6 + 0x263bf)
                                                  #4  0x00007f0d1b1e9419 __fortify_fail (libc.so.6 + 0x125419)
                                                  #5  0x00007f0d1b1e8da4 __chk_fail (libc.so.6 + 0x124da4)
                                                  #6  0x00007f0d1b1ea9f9 __strncpy_chk (libc.so.6 + 0x1269f9)
                                                  #7  0x00005e28e756d193 n/a (/usr/bin/screen-5.0.0 + 0x5193)
                                                  #8  0x00007f0d1b0eb488 n/a (libc.so.6 + 0x27488)
                                                  #9  0x00007f0d1b0eb54c __libc_start_main (libc.so.6 + 0x2754c)
                                                  #10 0x00005e28e756ebf5 n/a (/usr/bin/screen-5.0.0 + 0x6bf5)
                                                  ELF object binary architecture: AMD x86-64

KubaPro010 avatar May 02 '25 13:05 KubaPro010

coredump.zip If needed, here's the coredump

EDIT: also this definitly isn't hashcat, it is screen or it's usage with crackerjack

KubaPro010 avatar May 02 '25 13:05 KubaPro010

found same error on diffrent machine, same distro (arch):

May 02 16:23:08 kuba-linux-pc systemd[1]: [email protected]: Deactivated successfully.
May 02 16:23:08 kuba-linux-pc systemd-coredump[35219]: [🡕] Process 35217 (screen) of user 0 dumped core.
                                                       
                                                       Stack trace of thread 35217:
                                                       #0  0x000078d866bd574c n/a (libc.so.6 + 0x9774c)
                                                       #1  0x000078d866b7bdc0 raise (libc.so.6 + 0x3ddc0)
                                                       #2  0x000078d866b6357a abort (libc.so.6 + 0x2557a)
                                                       #3  0x000078d866b645c9 n/a (libc.so.6 + 0x265c9)
                                                       #4  0x000078d866c62a09 __fortify_fail (libc.so.6 + 0x124a09)
                                                       #5  0x000078d866c62374 __chk_fail (libc.so.6 + 0x124374)
                                                       #6  0x000078d866c64009 __strncpy_chk (libc.so.6 + 0x126009)
                                                       #7  0x00005f6253bdd193 n/a (/usr/bin/screen-5.0.0 + 0x5193)
                                                       #8  0x000078d866b656b5 n/a (libc.so.6 + 0x276b5)
                                                       #9  0x000078d866b65769 __libc_start_main (libc.so.6 + 0x27769)
                                                       #10 0x00005f6253bdebf5 n/a (/usr/bin/screen-5.0.0 + 0x6bf5)
                                                       ELF object binary architecture: AMD x86-64
May 02 16:23:08 kuba-linux-pc systemd[1]: Started Process Core Dump (PID 35218/UID 0).
May 02 16:23:08 kuba-linux-pc systemd-coredump[35218]: Process 35217 (screen) of user 0 terminated abnormally with signal 6/ABRT, processing...
May 02 16:23:08 kuba-linux-pc gunicorn[35217]: *** buffer overflow detected ***: terminated

KubaPro010 avatar May 02 '25 14:05 KubaPro010