####################################################################### Luigi Auriemma Application: Progea Movicon / PowerHMI http://www.progea.com Versions: <= 11.2.1085 Platforms: Windows Bug: memory corruption Exploitation: remote Date: 13 Sep 2011 Author: Luigi Auriemma e-mail: aluigi@autistici.org web: aluigi.org ####################################################################### 1) Introduction 2) Bug 3) The Code 4) Fix ####################################################################### =============== 1) Introduction =============== Movicon is an italian SCADA/HMI software. ####################################################################### ====== 2) Bug ====== When the software runs a project it listens on port 808 for accepting some HTTP requests. The server is affected by a heap overflow caused by the usage of a negative Content-Length field which allows to corrupt the memory through "memcpy(heap_buffer, input, content_length_size)". ####################################################################### =========== 3) The Code =========== http://aluigi.org/poc/movicon_1.dat nc SERVER 808 < movicon_1.dat ####################################################################### ====== 4) Fix ====== No fix. #######################################################################