id: vbulletin-detect

info:
  name: vBulletin Detect
  author: ricardomaia
  severity: info
  description: vBulletin is a proprietary forum and community publishing software written in PHP.
  reference:
    - https://www.vbulletin.com/
  classification:
    cpe: cpe:2.3:a:vbulletin:vbulletin:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: vbulletin
    product: vbulletin
    shodan-query: title:"Powered By vBulletin"
    google-query: intext:"Powered By vBulletin"
  tags: tech,vbulletin,discovery

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: body
        words:
          - "Powered By vBulletin"
          - 'content="vBulletin'
          - 'id="vbulletin_css'
        condition: or
        case-insensitive: true

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '(?i)meta.name=.generator.*content=.vbulletin.([\d.|\d]+)'
          - '(?i)\*.vBulletin.([\d.|\d]+).CSS'
# digest: 4a0a00473045022075a46b11220f5361e63389c11f342e6cf1a25edb9a7843215441c4601f621ed1022100b814d4ac2e42429f41ee6571f7c67311d9af958c95e5493a93c42540f0d80a13:922c64590222798bb761d5b6d8e72950