id: plesk-onyx-login

info:
  name: Plesk Login Panel - Detect
  author: dhiyaneshDK,daffainfo,righettod
  severity: info
  description: Plesk login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/6501
    - https://www.plesk.com/
  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:plesk:onyx:*:*:*:*:*:*:*:*
  metadata:
    google-query: inurl:login_up.php "Plesk Onyx"
    max-request: 1
    product: onyx
    shodan-query: http.html:"Plesk Onyx" http.html:"plesk-build"
    vendor: plesk
    verified: true
  tags: panel,plesk,login,edb

http:
  - method: GET
    path:
      - '{{BaseURL}}/login_up.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'alt="Plesk Onyx'
          - 'plesk-build'
          - 'plesk-revision'
          - 'plesk-root'
        condition: or
        case-insensitive: true

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'alt="Plesk Onyx ([0-9.]+)"'
          - '(?i)"urlArgs":"([0-9.-]+)"'
# digest: 4b0a00483046022100a73e9210a77569c000bbcea05644a89af56d790ac62ddf770972f5475494b2d10221009bcdc08d5f05bfab0069e23a682ee72d471ae8c653245fb7cf245ae44b624523:922c64590222798bb761d5b6d8e72950