| Название | Thomas Hergenhahn libnodave <=0.8.5 Out-of-Bounds Read |
|---|
| Описание | libnodave is affected by an out-of-bounds read while handling an S7 response PDU. _daveSetupReceivedPDU in nodave.c computes p->plen and p->dlen from the response header (up to 65535 each) and sets p->data = p->param + p->plen with no check against the actual received length, so p->data can point far past the fixed 2048-byte msgIn buffer. The result-evaluation routines _daveTestResultData and _daveTestWriteResult then read p->data[...] out of bounds. A malicious or compromised S7 PLC (or a MITM) that returns a crafted response to a libnodave client triggers a remote, unauthenticated out-of-bounds read: denial of service and potential information disclosure. This issue is distinct from the _daveReadISOPacket buffer overflow. Fix: validate hlen+plen+dlen against the received length (dc->AnswLen) before use. |
|---|
| Источник | ⚠️ https://sourceforge.net/p/libnodave/bugs/23/ |
|---|
| Пользователь | GyuHyunJeon (UID 102740) |
|---|
| Представление | 05.11.2026 04:07 (24 дни назад) |
|---|
| Модерация | 28.11.2026 22:15 (24 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 445134 [lettoz libnodave до 0.8.5 S7 Response PDU nodave.c _daveSetupReceivedPDU раскрытие информации] |
|---|
| Баллы | 20 |
|---|