id: lenovo-fp-panel

info:
  name: Lenovo Fan Power Controller Login Panel - Detect
  author: megamansec
  severity: info
  description: Lenovo Fan Power Controller login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:lenovo:fan_power_controller:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: lenovo
    product: fan_power_controller
    shodan-query:
      - http.html:"Fan and Power Controller"
      - http.html:"fan and power controller"
    fofa-query: body="fan and power controller"
  tags: panel,lenovo,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/login.html"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Avocent Corporation and its affiliates"
          - "FPC Login"
          - "Fan and Power Controller"

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