New issue
Advanced search Search tips
Starred by 1 user
Status: Fixed
Owner:
Closed: Jun 20
Cc:



Sign in to add a comment
Bitdefender AV crashes on malicious RAR files from 2013
Project Member Reported by thomasdullien@google.com, Jun 6 Back to list
A crash was reported to Bitdefender caused by malformed RAR files which were
crafted to target vulnerabilities in unrar 4.2.4 - and initially we suspected
that Bitdefender was linking outdated unrar code. 

Further investigation on Bitdefenders side showed, though, that they are 
up-to-date with their unrar code, and that one of the two targeted vulnerabilities 
was never fixed in upstream unrar. Every other user of unrar is likely also
affected.

Please see https://bugs.chromium.org/p/project-zero/issues/detail?id=1286 for
the upstream bug report and further details.

Base64-encoded RAR file to trigger the VMSF_DELTA issue:

UmFyIRoHAPlOcwAADgAAAAAAAAAAMAh0AAAmAI4AAAAAAAAAAhBBUiEAAAAAHQAGAAAAACBzdGRv
dXQgIVUMzRDNmBGByDAda+AXaSv4KvQr1K/oejL05mXmXmww5tEk8gA9k8nmieyeyeswuOR6cx69
a2Hd6zQwu3aoMDDwMEswADAAMD4P938w+dydoRFwAmwAAAAAvv////+/////+9W3QFgAAQAGAAAA
Ooimhd12AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Special thanks to Bitdefender for their quick turnaround and thorough investigation
of the issue, and alerting us that one of the two issues reported by us persisted
in upstream unrar as well as shipping patches quickly. After our initial report,
Bitdefender embarked on an audit of unrar code and discovered a further vulnerability
in the same area of the code which permitted memory corruption by providing a
malformed VMSF_AUDIO filter. They quickly reported this to upstream, and the new 
release should fix this issue as well. Great response!

This bug is subject to a 90 day disclosure deadline. After 90 days elapse
or a patch has been made broadly available, the bug report will become
visible to the public.

 
rgb_filter_cause_read_access_segfault.rar
321 bytes Download
delta_filter.rar
201 bytes Download
Project Member Comment 1 by thomasdullien@google.com, Jun 9
It turns out that Bitdefender was using the current version of unrar, but that for some unknown reason, the VMSF_DELTA issue had persisted in upstream unrar to this day. More details here:

https://bugs.chromium.org/p/project-zero/issues/detail?id=1286

Thanks to Bitdefender for alerting us to the fact that upstream RAR is affected.
Project Member Comment 2 by thomasdullien@google.com, Jun 9
Description: Show this description
Project Member Comment 3 by thomasdullien@google.com, Jun 9
Description: Show this description
Project Member Comment 4 by thomasdullien@google.com, Jun 19
Description: Show this description
Project Member Comment 5 by thomasdullien@google.com, Jun 20
Description: Show this description
Project Member Comment 6 by thomasdullien@google.com, Jun 20
Description: Show this description
Project Member Comment 7 by thomasdullien@google.com, Jun 20
Labels: -Restrict-View-Commit
Project Member Comment 8 by thomasdullien@google.com, Jun 20
Status: Fixed
Sign in to add a comment