id: nopcommerce-installer

info:
  name: nopCommerce Installer - Detect
  author: DhiyaneshDk
  severity: critical
  description: nopCommerce installer panel was detected.
  reference:
    - https://www.nopcommerce.com/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
    cvss-score: 9.4
    cwe-id: CWE-284
    cpe: cpe:2.3:a:nopcommerce:nopcommerce:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"nopCommerce Installation"
    product: nopcommerce
    vendor: nopcommerce
  tags: misconfig,nopcommerce,install

http:
  - method: GET
    path:
      - '{{BaseURL}}/install'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'nopCommerce installation'
          - 'Store information'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

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