id: caobox-cms-detect

info:
  name: Caobox CMS - Detect
  author: Chirag Mistry
  severity: info
  description: |
    Detects instances of Caobox CMS based on unique fingerprints and identifiers.
  metadata:
    verified: true
    shodan-query:
      - http.component:"Caobox"
      - http.component:"caobox"
      - cpe:"cpe:2.3:a:caobox:caobox"
  tags: detect,caobox,cms,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    payloads:
      paths:
        - "/"
        - "/admin/"
        - "/index.php"
        - "/admin/login.php"

    matchers-condition: or
    matchers:
      - type: word
        words:
          - "Caobox CMS"
          - "powered by Caobox"
          - "Welcome to Caobox"
          - "Caobox version"
        condition: or

      - type: regex
        regex:
          - "(?i)caobox"
          - "(?i)caobox\\s+(v[0-9.]+)"
          - "(?i)<title>Caobox CMS"
# digest: 490a0046304402204d5f5774cf6f1c8394ba456982427bc0c155262fa123fed240446824427ba02d022042ee76b34326091350da345f6309e63ecc778d3cbe1a9022d26ef6ac3e7389fd:922c64590222798bb761d5b6d8e72950