Vulnerabilities > CVE-2011-5007 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in 3Ssoftware Codesys
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description CoDeSys SCADA v2.3 Webserver Stack Buffer Overflow. CVE-2011-5007. Remote exploit for windows platform id EDB-ID:18240 last seen 2016-02-02 modified 2011-12-13 published 2011-12-13 reporter metasploit source https://www.exploit-db.com/download/18240/ title CoDeSys SCADA 2.3 - Webserver Stack Buffer Overflow description CoDeSys SCADA 2.3 - Remote Exploit. CVE-2011-5007. Remote exploit for windows platform file exploits/windows/remote/18187.c id EDB-ID:18187 last seen 2016-02-02 modified 2011-12-01 platform windows port published 2011-12-01 reporter Celil Ünüver source https://www.exploit-db.com/download/18187/ title CoDeSys SCADA 2.3 - Remote Exploit type remote
Metasploit
description | This module exploits a remote stack buffer overflow vulnerability in 3S-Smart Software Solutions product CoDeSys Scada Web Server Version 1.1.9.9. This vulnerability affects versions 3.4 SP4 Patch 2 and earlier. |
id | MSF:EXPLOIT/WINDOWS/SCADA/CODESYS_WEB_SERVER |
last seen | 2020-06-04 |
modified | 2020-01-15 |
published | 2011-12-12 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/codesys_web_server.rb |
title | SCADA 3S CoDeSys CmpWebServer Stack Buffer Overflow |
Saint
bid | 50849 |
description | Smart Software Solutions CoDeSys Webserver URI Copying Stack Buffer Overflow |
osvdb | 77387 |
title | 3s_codesys_cmpwebserver_input_uri_copy |
type | remote |
References
- http://aluigi.altervista.org/adv/codesys_1-adv.txt
- http://ics-cert.us-cert.gov/advisories/ICSA-12-320-01
- http://osvdb.org/77387
- http://seclists.org/bugtraq/2011/Nov/178
- http://secunia.com/advisories/47018
- http://www.exploit-db.com/exploits/18187
- http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-336-01.pdf
- http://www.us-cert.gov/control_systems/pdf/ICS-ALERT-11-336-01A.pdf