libIEC61850 - это реализация с открытым исходным кодом клиентских и серверных протоколов IEC 61850, включая MMS, GOOSE, Sampled Values и R-Session. До 1.6.2 файловый сервис MMS в src/mms/iso_mms/server/mms_file_service.c принимает out-of-range initialPosition в fileOpen и сохраняет его в состоянии чтения файлов. Затем путь fileRead вычитает большую позицию чтения из размера файла, используя арифметику без подписи, и не ограничивает ответ фактическим значением возврата FileSystem_readFile.
Негабаритный ответ может включать в себя устаревшие байты из повторно используемого буфера соединения после запрошенного содержимого файла, раскрывая данные предварительного ответа и фрагменты протокола неаутентифицированному удаленному клиенту, когда файловая служба включена. Эта проблема исправлена в версии 1.6.2.
Показать оригинальное описание (EN)
libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. Prior to 1.6.2, the MMS file service in src/mms/iso_mms/server/mms_file_service.c accepts an out-of-range initialPosition in fileOpen and stores it in the file-read state. The fileRead path then subtracts the larger read position from the file size using unsigned arithmetic and fails to limit the response to the actual FileSystem_readFile return value. The oversized response can include stale bytes from the reused connection buffer after the requested file contents, disclosing prior response data and protocol fragments to an unauthenticated remote client when the file service is enabled. This issue is fixed in version 1.6.2.
Характеристики атаки
Последствия
Строка CVSS v3.1