Description
MOOS core-moos through 10.4.0 contains a pre-authentication heap overflow vulnerability in MOOSCommPkt packet handling that allows remote attackers to write arbitrary data by declaring a negative packet length. Attackers can exploit the signed integer check in InflateTo() and negative size conversion in recv() to overflow a four-byte heap buffer during the HandShake phase before authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| themoos | core-moos | ≤ 10.4.0 | — |
References
- Pull Request #82 issue-tracking patch
- Proposed fix commit (pull request not merged) patch
- https://github.com/themoos/core-moos product
- MOOSCommPkt.cpp (verified sink) technical-description
- VulnCheck Advisory: MOOS core-moos through 10.4.0 MOOSDB Pre-Authentication Heap Overflow via Negative Packet Length third-party-advisory