id: lutron-default-login

info:
  name: Lutron - Default Account
  author: geeknik
  severity: critical
  description: Multiple Lutron devices contain a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
  reference:
    - https://www.lutron.com
    - https://vulners.com/openvas/OPENVAS:1361412562310113206
  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
    cwe-id: CWE-1391
  metadata:
    max-request: 1
  tags: default-login,lutron,iot

http:
  - method: GET
    path:
      - "{{BaseURL}}/login?login={{username}}&password={{password}}"

    attack: pitchfork
    payloads:
      username:
        - lutron
      password:
        - lutron

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "LUTRON"
          - "DeviceIP"
          - "Get Database Info as XML"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

# digest: 4a0a00473045022100979483cb32817ec0b443993dcccf91fd8516ce0be16c58b3f5084959a004cae2022036a41092d0e352b83d93b6a0041e3ea110379ea423fe149a69f1550cb48e2e76:922c64590222798bb761d5b6d8e72950
