ID

VAR-201302-0032


CVE

CVE-2012-4707


TITLE

CoDeSys 'Gateway Server' Incorrect Memory Operation Vulnerability

Trust: 0.8

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // CNVD: CNVD-2013-01215

DESCRIPTION

3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via vectors that trigger an out-of-bounds memory access. CoDeSys is a powerful PLC software programming tool that supports IEC61131-3 standard IL, ST, FBD, LD, CFC, SFC six PLC programming languages. 3S CODESYS Gateway-Server has a memory out of bounds read or write vulnerability. CoDeSys is prone to multiple remote code-execution vulnerabilities. Failed exploit attempts will result in a denial-of-service condition. CoDeSys 2.3.9.27 is vulnerable; other versions may also be affected. Note: This BID was previously titled "CoDeSys Gateway Server Multiple Security Vulnerabilities", but the issue (described by CVE-2012-4705) has been moved to BID 59446 (CoDeSys Gateway Server CVE-2012-4705 Directory Traversal Vulnerability) to better document it. 3S-Smart Software Solutions CoDeSys is a set of PLC (Programmable Logic Controller) software programming tools from 3S-Smart Software Solutions in Germany. Runtime Toolkit is the runtime toolkit of CoDeSys. Vulnerabilities exist in 3S CODESYS Gateway-Server versions prior to 2.3.9.27

Trust: 2.7

sources: NVD: CVE-2012-4707 // JVNDB: JVNDB-2013-001680 // CNVD: CNVD-2013-01215 // BID: 58032 // IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // VULHUB: VHN-57988

IOT TAXONOMY

category:['ICS']sub_category: -

Trust: 0.8

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // CNVD: CNVD-2013-01215

AFFECTED PRODUCTS

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.6.0

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.5.3

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.7.0

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.5.1

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.8.1

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.1

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.8.0

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.5.2

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.8.2

Trust: 1.6

vendor:3smodel:codesys gateway-serverscope:lteversion:2.3.9.19

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.3

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.4

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.5

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.18

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.2

Trust: 1.0

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9

Trust: 1.0

vendor:3s smartmodel:codesys gateway serverscope:ltversion:2.3.9.27

Trust: 0.8

vendor:3smodel:smart software solutions codesysscope:eqversion:-2.x

Trust: 0.6

vendor:3smodel:smart software solutions codesys gateway serverscope:eqversion:-2.x

Trust: 0.6

vendor:3smodel:codesys gateway-serverscope:eqversion:2.3.9.19

Trust: 0.6

vendor:codesys gateway servermodel: - scope:eqversion:2.3.5.1

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.5.2

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.5.3

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.6.0

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.7.0

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.8.0

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.8.1

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.8.2

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.1

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.2

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.3

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.4

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.5

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:2.3.9.18

Trust: 0.2

vendor:codesys gateway servermodel: - scope:eqversion:*

Trust: 0.2

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // CNVD: CNVD-2013-01215 // JVNDB: JVNDB-2013-001680 // CNNVD: CNNVD-201302-450 // NVD: CVE-2012-4707

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2012-4707
value: HIGH

Trust: 1.0

NVD: CVE-2012-4707
value: HIGH

Trust: 0.8

CNNVD: CNNVD-201302-450
value: CRITICAL

Trust: 0.6

IVD: 12813ea2-2353-11e6-abef-000c29c66e3d
value: CRITICAL

Trust: 0.2

VULHUB: VHN-57988
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2012-4707
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

IVD: 12813ea2-2353-11e6-abef-000c29c66e3d
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.9 [IVD]

Trust: 0.2

VULHUB: VHN-57988
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // VULHUB: VHN-57988 // JVNDB: JVNDB-2013-001680 // CNNVD: CNNVD-201302-450 // NVD: CVE-2012-4707

PROBLEMTYPE DATA

problemtype:CWE-94

Trust: 1.9

sources: VULHUB: VHN-57988 // JVNDB: JVNDB-2013-001680 // NVD: CVE-2012-4707

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201302-450

TYPE

Code injection

Trust: 0.8

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // CNNVD: CNNVD-201302-450

CONFIGURATIONS

sources: JVNDB: JVNDB-2013-001680

PATCH

title:Top Pageurl:http://www.3s-software.com/

Trust: 0.8

title:CoDeSys 'Gateway Server' patch for incorrect memory operation vulnerabilitiesurl:https://www.cnvd.org.cn/patchInfo/show/32065

Trust: 0.6

sources: CNVD: CNVD-2013-01215 // JVNDB: JVNDB-2013-001680

EXTERNAL IDS

db:NVDid:CVE-2012-4707

Trust: 3.6

db:ICS CERTid:ICSA-13-050-01

Trust: 2.0

db:ICS CERTid:ICSA-13-050-01A

Trust: 1.1

db:CNNVDid:CNNVD-201302-450

Trust: 0.9

db:CNVDid:CNVD-2013-01215

Trust: 0.8

db:JVNDBid:JVNDB-2013-001680

Trust: 0.8

db:SECUNIAid:52253

Trust: 0.6

db:BIDid:58032

Trust: 0.3

db:IVDid:12813EA2-2353-11E6-ABEF-000C29C66E3D

Trust: 0.2

db:VULHUBid:VHN-57988

Trust: 0.1

sources: IVD: 12813ea2-2353-11e6-abef-000c29c66e3d // CNVD: CNVD-2013-01215 // VULHUB: VHN-57988 // BID: 58032 // JVNDB: JVNDB-2013-001680 // CNNVD: CNNVD-201302-450 // NVD: CVE-2012-4707

REFERENCES

url:http://ics-cert.us-cert.gov/pdf/icsa-13-050-01-a.pdf

Trust: 1.4

url:http://ics-cert.us-cert.gov/advisories/icsa-13-050-01a

Trust: 1.1

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2012-4707

Trust: 0.8

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2012-4707

Trust: 0.8

url:http://ics-cert.us-cert.gov/pdf/icsa-13-050-01.pdf

Trust: 0.6

url:http://secunia.com/advisories/52253

Trust: 0.6

url:http://www.3s-software.com/

Trust: 0.3

sources: CNVD: CNVD-2013-01215 // VULHUB: VHN-57988 // BID: 58032 // JVNDB: JVNDB-2013-001680 // CNNVD: CNNVD-201302-450 // NVD: CVE-2012-4707

CREDITS

Aaron Portnoy of Exodus Intelligence

Trust: 0.3

sources: BID: 58032

SOURCES

db:IVDid:12813ea2-2353-11e6-abef-000c29c66e3d
db:CNVDid:CNVD-2013-01215
db:VULHUBid:VHN-57988
db:BIDid:58032
db:JVNDBid:JVNDB-2013-001680
db:CNNVDid:CNNVD-201302-450
db:NVDid:CVE-2012-4707

LAST UPDATE DATE

2024-11-23T22:08:36.854000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2013-01215date:2013-02-22T00:00:00
db:VULHUBid:VHN-57988date:2013-05-21T00:00:00
db:BIDid:58032date:2015-03-19T08:12:00
db:JVNDBid:JVNDB-2013-001680date:2013-02-27T00:00:00
db:CNNVDid:CNNVD-201302-450date:2013-02-26T00:00:00
db:NVDid:CVE-2012-4707date:2024-11-21T01:43:23.553

SOURCES RELEASE DATE

db:IVDid:12813ea2-2353-11e6-abef-000c29c66e3ddate:2013-02-22T00:00:00
db:CNVDid:CNVD-2013-01215date:2013-02-22T00:00:00
db:VULHUBid:VHN-57988date:2013-02-24T00:00:00
db:BIDid:58032date:2013-02-19T00:00:00
db:JVNDBid:JVNDB-2013-001680date:2013-02-27T00:00:00
db:CNNVDid:CNNVD-201302-450date:2013-02-26T00:00:00
db:NVDid:CVE-2012-4707date:2013-02-24T11:48:21.143