Description
Stack-based buffer overflow in the CmpWebServer component in 3S CoDeSys 3.4 SP4 Patch 2 and earlier, as used on the ABB AC500 PLC and possibly other products, allows remote attackers to execute arbitrary code via a long URI to TCP port 8080.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
SCADA 3S CoDeSys CmpWebServer Stack Buffer Overflow
exploit/windows/scada/codesys_web_server
Exploit-DB 2
- CoDeSys SCADA 2.3 - WebServer Stack Buffer Overflow (Metasploit) EDB-18240 · remote · Dec 13, 2011 · verified
- CoDeSys SCADA 2.3 - Remote Buffer Overflow EDB-18187 · remote · Dec 1, 2011
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- ICSA-12-006-01 3S CoDeSys Vulnerabilities CISA ICS & IT advisories · Jun 9, 2025
- ICSA-12-320-01 ABB AC500 PLC Webserver CoDeSys Vulnerability CISA ICS & IT advisories · Jun 6, 2025
References
- http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-336-01A.pdf
- 20111129 Vulnerabilities in 3S CoDeSys 3.4 SP4 Patch 2 mailing-list
- 47018 third-party-advisory
- http://aluigi.altervista.org/adv/codesys_1-adv.txt
- 77387 vdb-entry
- http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-336-01.pdf
- http://ics-cert.us-cert.gov/advisories/ICSA-12-320-01
- 18187 exploit