LaBBa
September 2nd, 2010, 00:51
Hi
i have found a bug during my reversing and i'm not sure it is exploitable i converted the ASM to C code so it would be easier to understand:
memcpy(*DstData, Msg->data, Msg->dataLength);
Msg->data acctual size is only 4 bytes
DstData is maximum size of 256 bytes
what i can control is the Msg->dataLength
i can set a larger value the the Msg->data size.
the exception i get is : "..access to invalid memory.."
is this bug can be somehow exploited via maybe Heap ?
Thanks,
LaBBa.
i have found a bug during my reversing and i'm not sure it is exploitable i converted the ASM to C code so it would be easier to understand:
memcpy(*DstData, Msg->data, Msg->dataLength);
Msg->data acctual size is only 4 bytes
DstData is maximum size of 256 bytes
what i can control is the Msg->dataLength
i can set a larger value the the Msg->data size.
the exception i get is : "..access to invalid memory.."
is this bug can be somehow exploited via maybe Heap ?
Thanks,
LaBBa.