var-202007-0238
Vulnerability from variot

PLCopen XML file parsing in Phoenix Contact PC Worx and PC Worx Express version 1.87 and earlier can lead to a stack-based overflow. Manipulated PC Worx projects could lead to a remote code execution due to insufficient input data validation. (DoS) It may be put into a state. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Phoenix Contact Automationworx. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.The specific flaw exists within the parsing of PLCOpen XML files. When parsing the pou element, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Phoenix Contact PC Worx and Phoenix Contact PC Worx Express are both a set of programming software for PLC (programmable logic controller) of Phoenix Contact (Germany Phoenix Contact)

Show details on source website


{
  "affected_products": {
    "_id": null,
    "data": [
      {
        "_id": null,
        "model": "automationworx",
        "scope": null,
        "trust": 1.4,
        "vendor": "phoenix contact",
        "version": null
      },
      {
        "_id": null,
        "model": "pc worx",
        "scope": "lt",
        "trust": 1.0,
        "vendor": "phoenixcontact",
        "version": "1.87"
      },
      {
        "_id": null,
        "model": "pc worx express",
        "scope": "lte",
        "trust": 1.0,
        "vendor": "phoenixcontact",
        "version": "1.87"
      },
      {
        "_id": null,
        "model": "pc worx",
        "scope": "eq",
        "trust": 0.8,
        "vendor": "phoenix contact",
        "version": "1.87"
      },
      {
        "_id": null,
        "model": "pc worx express",
        "scope": "eq",
        "trust": 0.8,
        "vendor": "phoenix contact",
        "version": "1.87"
      },
      {
        "_id": null,
        "model": "contact pc worx",
        "scope": "lte",
        "trust": 0.6,
        "vendor": "phoenix",
        "version": "\u003c=1.87"
      },
      {
        "_id": null,
        "model": "contact pc worx express",
        "scope": "lte",
        "trust": 0.6,
        "vendor": "phoenix",
        "version": "\u003c=1.87"
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      }
    ]
  },
  "configurations": {
    "_id": null,
    "data": [
      {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "cpe_match": [
              {
                "cpe22Uri": "cpe:/a:phoenixcontact:pc_worx",
                "vulnerable": true
              },
              {
                "cpe22Uri": "cpe:/a:phoenixcontact:pc_worx_express",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      }
    ]
  },
  "credits": {
    "_id": null,
    "data": "Natnael Samson (@NattiSamson)",
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      }
    ],
    "trust": 1.4
  },
  "cve": "CVE-2020-12497",
  "cvss": {
    "_id": null,
    "data": [
      {
        "cvssV2": [
          {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "author": "nvd@nist.gov",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "exploitabilityScore": 8.6,
            "id": "CVE-2020-12497",
            "impactScore": 6.4,
            "integrityImpact": "PARTIAL",
            "severity": "MEDIUM",
            "trust": 1.1,
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          {
            "acInsufInfo": null,
            "accessComplexity": "Medium",
            "accessVector": "Network",
            "authentication": "None",
            "author": "NVD",
            "availabilityImpact": "Partial",
            "baseScore": 6.8,
            "confidentialityImpact": "Partial",
            "exploitabilityScore": null,
            "id": "JVNDB-2020-007564",
            "impactScore": null,
            "integrityImpact": "Partial",
            "obtainAllPrivilege": null,
            "obtainOtherPrivilege": null,
            "obtainUserPrivilege": null,
            "severity": "Medium",
            "trust": 0.8,
            "userInteractionRequired": null,
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "author": "CNVD",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "exploitabilityScore": 8.6,
            "id": "CNVD-2020-38414",
            "impactScore": 6.4,
            "integrityImpact": "PARTIAL",
            "severity": "MEDIUM",
            "trust": 0.6,
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          }
        ],
        "cvssV3": [
          {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "author": "nvd@nist.gov",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "exploitabilityScore": 1.8,
            "id": "CVE-2020-12497",
            "impactScore": 5.9,
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "trust": 2.0,
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "author": "ZDI",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "exploitabilityScore": 1.8,
            "id": "CVE-2020-12497",
            "impactScore": 5.9,
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "trust": 1.4,
            "userInteraction": "REQUIRED",
            "vectorString": "AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          {
            "attackComplexity": "Low",
            "attackVector": "Local",
            "author": "NVD",
            "availabilityImpact": "High",
            "baseScore": 7.8,
            "baseSeverity": "High",
            "confidentialityImpact": "High",
            "exploitabilityScore": null,
            "id": "JVNDB-2020-007564",
            "impactScore": null,
            "integrityImpact": "High",
            "privilegesRequired": "None",
            "scope": "Unchanged",
            "trust": 0.8,
            "userInteraction": "Required",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
          }
        ],
        "severity": [
          {
            "author": "ZDI",
            "id": "CVE-2020-12497",
            "trust": 1.4,
            "value": "HIGH"
          },
          {
            "author": "nvd@nist.gov",
            "id": "CVE-2020-12497",
            "trust": 1.0,
            "value": "HIGH"
          },
          {
            "author": "info@cert.vde.com",
            "id": "CVE-2020-12497",
            "trust": 1.0,
            "value": "HIGH"
          },
          {
            "author": "NVD",
            "id": "JVNDB-2020-007564",
            "trust": 0.8,
            "value": "High"
          },
          {
            "author": "CNVD",
            "id": "CNVD-2020-38414",
            "trust": 0.6,
            "value": "MEDIUM"
          },
          {
            "author": "CNNVD",
            "id": "CNNVD-202007-072",
            "trust": 0.6,
            "value": "HIGH"
          },
          {
            "author": "VULMON",
            "id": "CVE-2020-12497",
            "trust": 0.1,
            "value": "MEDIUM"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      }
    ]
  },
  "description": {
    "_id": null,
    "data": "PLCopen XML file parsing in Phoenix Contact PC Worx and PC Worx Express version 1.87 and earlier can lead to a stack-based overflow. Manipulated PC Worx projects could lead to a remote code execution due to insufficient input data validation. (DoS) It may be put into a state. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Phoenix Contact Automationworx.  User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.The specific flaw exists within the parsing of PLCOpen XML files. When parsing the pou element, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer.  An attacker can leverage this vulnerability to execute code in the context of the current process. Phoenix Contact PC Worx and Phoenix Contact PC Worx Express are both a set of programming software for PLC (programmable logic controller) of Phoenix Contact (Germany Phoenix Contact)",
    "sources": [
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497"
      }
    ],
    "trust": 3.51
  },
  "external_ids": {
    "_id": null,
    "data": [
      {
        "db": "NVD",
        "id": "CVE-2020-12497",
        "trust": 4.5
      },
      {
        "db": "CERT@VDE",
        "id": "VDE-2020-023",
        "trust": 2.5
      },
      {
        "db": "ZDI",
        "id": "ZDI-20-825",
        "trust": 2.4
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398",
        "trust": 2.4
      },
      {
        "db": "ICS CERT",
        "id": "ICSA-20-191-01",
        "trust": 1.4
      },
      {
        "db": "JVN",
        "id": "JVNVU97113078",
        "trust": 0.8
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564",
        "trust": 0.8
      },
      {
        "db": "ZDI_CAN",
        "id": "ZDI-CAN-10147",
        "trust": 0.7
      },
      {
        "db": "ZDI_CAN",
        "id": "ZDI-CAN-12244",
        "trust": 0.7
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414",
        "trust": 0.6
      },
      {
        "db": "NSFOCUS",
        "id": "47401",
        "trust": 0.6
      },
      {
        "db": "NSFOCUS",
        "id": "47118",
        "trust": 0.6
      },
      {
        "db": "NSFOCUS",
        "id": "47079",
        "trust": 0.6
      },
      {
        "db": "AUSCERT",
        "id": "ESB-2020.2365",
        "trust": 0.6
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072",
        "trust": 0.6
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497",
        "trust": 0.1
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      }
    ]
  },
  "id": "VAR-202007-0238",
  "iot": {
    "_id": null,
    "data": true,
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      }
    ],
    "trust": 1.6
  },
  "iot_taxonomy": {
    "_id": null,
    "data": [
      {
        "category": [
          "ICS"
        ],
        "sub_category": null,
        "trust": 0.6
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      }
    ]
  },
  "last_update_date": "2024-11-23T22:05:29.362000Z",
  "patch": {
    "_id": null,
    "data": [
      {
        "title": "Top Page",
        "trust": 0.8,
        "url": "https://www.phoenixcontact.com/online/portal/pi?1dmy\u0026urile=wcm%3apath%3a/pien/web/home"
      },
      {
        "title": "Phoenix Contact has issued an update to correct this vulnerability.",
        "trust": 0.7,
        "url": "https://us-cert.cisa.gov/ics/advisories/icsa-20-191-01"
      },
      {
        "title": "",
        "trust": 0.7,
        "url": "https://us-cert.cisa.gov/ics/advisories/icsa-20-191-01https://cert.vde.com/en-us/advisories/vde-2020-023"
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      }
    ]
  },
  "problemtype_data": {
    "_id": null,
    "data": [
      {
        "problemtype": "CWE-787",
        "trust": 1.8
      },
      {
        "problemtype": "CWE-121",
        "trust": 1.0
      }
    ],
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      }
    ]
  },
  "references": {
    "_id": null,
    "data": [
      {
        "trust": 2.5,
        "url": "https://cert.vde.com/de-de/advisories/vde-2020-023"
      },
      {
        "trust": 2.4,
        "url": "https://www.zerodayinitiative.com/advisories/zdi-21-398/"
      },
      {
        "trust": 2.3,
        "url": "https://www.zerodayinitiative.com/advisories/zdi-20-825/"
      },
      {
        "trust": 2.1,
        "url": "https://us-cert.cisa.gov/ics/advisories/icsa-20-191-01"
      },
      {
        "trust": 2.0,
        "url": "https://nvd.nist.gov/vuln/detail/cve-2020-12497"
      },
      {
        "trust": 0.8,
        "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2020-12497"
      },
      {
        "trust": 0.8,
        "url": "https://jvn.jp/vu/jvnvu97113078/"
      },
      {
        "trust": 0.7,
        "url": "https://us-cert.cisa.gov/ics/advisories/icsa-20-191-01https://cert.vde.com/en-us/advisories/vde-2020-023"
      },
      {
        "trust": 0.6,
        "url": "http://www.nsfocus.net/vulndb/47401"
      },
      {
        "trust": 0.6,
        "url": "http://www.nsfocus.net/vulndb/47118"
      },
      {
        "trust": 0.6,
        "url": "http://www.nsfocus.net/vulndb/47079"
      },
      {
        "trust": 0.6,
        "url": "https://www.auscert.org.au/bulletins/esb-2020.2365/"
      },
      {
        "trust": 0.1,
        "url": "https://cwe.mitre.org/data/definitions/787.html"
      },
      {
        "trust": 0.1,
        "url": "https://nvd.nist.gov"
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825"
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414"
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072"
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497"
      }
    ]
  },
  "sources": {
    "_id": null,
    "data": [
      {
        "db": "ZDI",
        "id": "ZDI-20-825",
        "ident": null
      },
      {
        "db": "ZDI",
        "id": "ZDI-21-398",
        "ident": null
      },
      {
        "db": "CNVD",
        "id": "CNVD-2020-38414",
        "ident": null
      },
      {
        "db": "VULMON",
        "id": "CVE-2020-12497",
        "ident": null
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564",
        "ident": null
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072",
        "ident": null
      },
      {
        "db": "NVD",
        "id": "CVE-2020-12497",
        "ident": null
      }
    ]
  },
  "sources_release_date": {
    "_id": null,
    "data": [
      {
        "date": "2020-07-10T00:00:00",
        "db": "ZDI",
        "id": "ZDI-20-825",
        "ident": null
      },
      {
        "date": "2021-03-31T00:00:00",
        "db": "ZDI",
        "id": "ZDI-21-398",
        "ident": null
      },
      {
        "date": "2020-07-13T00:00:00",
        "db": "CNVD",
        "id": "CNVD-2020-38414",
        "ident": null
      },
      {
        "date": "2020-07-01T00:00:00",
        "db": "VULMON",
        "id": "CVE-2020-12497",
        "ident": null
      },
      {
        "date": "2020-08-17T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2020-007564",
        "ident": null
      },
      {
        "date": "2020-07-01T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-202007-072",
        "ident": null
      },
      {
        "date": "2020-07-01T16:15:12.853000",
        "db": "NVD",
        "id": "CVE-2020-12497",
        "ident": null
      }
    ]
  },
  "sources_update_date": {
    "_id": null,
    "data": [
      {
        "date": "2020-07-10T00:00:00",
        "db": "ZDI",
        "id": "ZDI-20-825",
        "ident": null
      },
      {
        "date": "2021-04-16T00:00:00",
        "db": "ZDI",
        "id": "ZDI-21-398",
        "ident": null
      },
      {
        "date": "2020-07-13T00:00:00",
        "db": "CNVD",
        "id": "CNVD-2020-38414",
        "ident": null
      },
      {
        "date": "2021-03-31T00:00:00",
        "db": "VULMON",
        "id": "CVE-2020-12497",
        "ident": null
      },
      {
        "date": "2020-08-17T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2020-007564",
        "ident": null
      },
      {
        "date": "2021-04-01T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-202007-072",
        "ident": null
      },
      {
        "date": "2024-11-21T04:59:48.283000",
        "db": "NVD",
        "id": "CVE-2020-12497",
        "ident": null
      }
    ]
  },
  "threat_type": {
    "_id": null,
    "data": "local",
    "sources": [
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072"
      }
    ],
    "trust": 0.6
  },
  "title": {
    "_id": null,
    "data": "Phoenix Contact PC Worx and  PC Worx Express Out-of-bounds write vulnerability in",
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2020-007564"
      }
    ],
    "trust": 0.8
  },
  "type": {
    "_id": null,
    "data": "buffer error",
    "sources": [
      {
        "db": "CNNVD",
        "id": "CNNVD-202007-072"
      }
    ],
    "trust": 0.6
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.