An issue was discovered on GL.iNet devices before 3.216. The function guci2_get() found in libglutil.so has a buffer overflow when an item is requested from a UCI context, and the value is pasted into a char pointer to a buffer without checking the size of the buffer.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://www.gl-inet.com | vendor advisory |
https://github.com/gl-inet/CVE-issues/blob/main/3.215/Buffer_Overflow.md | third party advisory exploit |
https://justinapplegate.me/2023/glinet-CVE-2023-31475/ |