id: plesk-eol

info:
  name: Plesk End-of-Life - Detect
  author: Shivam Kamboj
  severity: info
  description: |
    Detected Plesk versions that have reached End-of-Life (EOL) and no longer receive security updates.
  reference:
    - https://endoflife.date/plesk
    - https://docs.plesk.com/release-notes/obsidian/change-log/
  metadata:
    verified: true
    max-request: 2
    shodan-query: "Plesk"
  tags: tech,plesk,eol

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

    stop-at-first-match: true

    extractors:
      - type: regex
        part: body
        name: version
        group: 1
        regex:
          - '(?i)<title>Plesk Obsidian ([0-9.]+)'
          - '(?i)Plesk Obsidian ([0-9.]+)'

    matchers:
      - type: dsl
        dsl:
          - 'len(version) > 0'
          - 'compare_versions(version, "<18.0.75")'
        condition: and
# digest: 490a00463044022074e960045b1fd66d3db988cead5172efdfb06083b71b2bc62291c533fa2cb551022054ce8a50cc31e27f8d1280e4595582b573c7067d5f16a6543d8b184554d667bc:922c64590222798bb761d5b6d8e72950