vendor:IP-COM
product:M50
version:V15.11.0.33(10768)
type:Buffer Overflow
author:Yifeng Li, Wolin Zhuang;
We found an buffer overflow vulnerability in IP-COM Technology IP-COM’s M50 routers with firmware which was released recently, allows control “sPortMapIndex” to attack it.
In formDelPortMapping function, the parameter “sPortMapIndex” is directly strcpy to a local variable placed on the stack, which overrides the return address of the function, causing buffer overflow, and so on, we also can control the sPortMapIndex to attack it.
We set the value of “sPortMapIndex” as aaaaaaaaaaaaaaaaaaaaaaaaa…… and the router will cause buffer overflow.