id: yzmcms-installer

info:
  name: YzmCMS - Installer
  author: ritikchaddha
  severity: high
  description: YzmCMS is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:yzmcms:yzmcms:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: yzmcms
    product: yzmcms
    shodan-query: title:"YzmCMS"
    fofa-query: title="YzmCMS"
  tags: misconfig,yzmcms,install,exposure,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/application/install/index.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '安装程序 - YzmCMS'
          - 'YzmCMS'
        condition: or

      - type: word
        part: body
        words:
          - '/index.php?step=2'
          - '/install.css'
        condition: or

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