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

Many crashes found in Bento4 through fuzzing #951

Open
40ngx opened this issue Apr 7, 2024 · 0 comments
Open

Many crashes found in Bento4 through fuzzing #951

40ngx opened this issue Apr 7, 2024 · 0 comments

Comments

@40ngx
Copy link

40ngx commented Apr 7, 2024

Hello, I was recently using afl++ to test the latest version of Bento4 and found a lot of crashes. They come from different tools, and some require specified parameters to trigger. The summary report of AddressSanitizer is as follows. One of them is considered exploitable by casr.

heap-buffer-overflow(read): /root/fuzzing_Bento4/Bento4/Source/C++/Codecs/Ap4Mp4AudioInfo.cpp:66:56
heap-buffer-overflow(write): /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4ByteStream.cpp:785:5( casrep: EXPLOITABLE:)
heap-buffer-overflow(read): /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4Utils.h:114:22
heap-buffer-overflow(read): /root/fuzzing_Bento4/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1196:17
heap-buffer-overflow(read): /root/fuzzing_Bento4/Bento4/Source/C++/Codecs/Ap4BitStream.cpp:133:9
SourceAvNearNull: /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4MovieFragment.cpp
SourceAv: /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4TrunAtom.h:80:80
SourceAvNearNull: /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4Atom.cpp:567:16
SourceAvNearNull: /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4Processor.cpp:192:56
SourceAvNearNull: /root/fuzzing_Bento4/Bento4/Source/C++/Core/Ap4Processor.cpp:211:56

Detailed casr reports and poc here:https://github.com/40ngx/Bento4-report

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