bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Buffer Overflow


From: Sergio Fuentes
Subject: Buffer Overflow
Date: Tue, 12 Apr 2022 14:45:15 -0400

Hello,

Please, run the following 3 commands to reproduce the bug:

echo '. ./poc.sh' > poc.sh
chmod +x poc.sh
bash -c './poc.sh'

The backtrace from gdb:
gdb /bin/bash core
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005612fcdece65 in yyparse ()
(gdb) bt
#0  0x00005612fcdece65 in yyparse ()
#1  0x00005612fcde3869 in parse_command ()
#2  0x00005612fce511fc in parse_and_execute ()
#3  0x00005612fce50837 in ?? ()

Best regards and thanks,
fs


reply via email to

[Prev in Thread] Current Thread [Next in Thread]