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

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: 490a0046304402207fa1d1fc55ef262931e7cef087df774efa50cdf332e43c8132ea52967a3e02d202204d0d88de56ad6eb72ddf1ec5ca34123711072c276fdc56cc3d64ac1f1b2c9574:922c64590222798bb761d5b6d8e72950