Files
CVEs-PoC/2021/CVE-2021-21969.md
T
2024-06-18 02:51:15 +02:00

18 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-21969](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21969)
![](https://img.shields.io/static/v1?label=Product&message=Sealevel%22&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-120%3A%20Buffer%20Copy%20without%20Checking%20Size%20of%20Input%20('Classic%20Buffer%20Overflow')&color=brighgreen)
### Description
An out-of-bounds write vulnerability exists in the HandleSeaCloudMessage functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. The HandleIncomingSeaCloudMessage function uses at [4] the json_object_get_string to populate the p_payload global variable. The p_payload is only 0x100 bytes long, and the total MQTT message could be up to 0x201 bytes. Because the function json_object_get_string will fill str based on the length of the jsons value and not the actual str size, this would result in a possible out-of-bounds write.
### POC
#### Reference
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1396
#### Github
No PoCs found on GitHub currently.