В данной статье я рассмотрю подключение утилиты dfu‑util, написанную на языке С, к С++ проекту на CMake в виде сабмодуля.Одна из главных целей статьи — это подключение старого и типового кода на С к своему проекту. Здесь приведены проблемы генерируемых…
There exists an unchecked length field in UBoot. The U-Boot DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction corresponds to the specified command. Consequently, if a physical attacker crafts a USB DFU download setup packet with a `wLength` greater than 4096 bytes, they can write beyond the heap-allocated request buffer.
Для всех поклонников «Дневника слабака» и приключений Роули Джефферсона от автора детских мегабестселлеров Джеффа Кинни! Каждая книга из серии «Дневник слабака» попадает в списки бестселлеров, и эта не исключение: «Дневник слабака-15. На дне» сразу же заняла первые строчки в USA Today, Wall Street Journal и New York Times! В новой истории Грега Хэффли ждет поистине … Continue reading Джефф Кинни Дневник слабака. На дне
Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack. Prior to version 6.1.11, he USBX DFU UPLOAD functionality may be utilized to introduce a buffer overflow resulting in overwrite of memory contents. In particular cases this may allow an attacker to bypass security features or execute arbitrary code. The implementation of `ux_device_class_dfu_control_request` function does not assure that a buffer overflow will not occur during handling of the DFU UPLOAD command. When an attacker…