id: evse-web-panel

info:
  name: EVSE Web Interface Panel - Detection
  author: ritikchaddha
  severity: info
  classification:
    cpe: cpe:2.3:o:schneider-electric:evlink_charging_station_firmware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: schneider-electric
    product: evlink_charging_station_firmware
    shodan-query:
      - title:"EVSE Web Interface"
      - http.title:"evse web interface"
    fofa-query:
      - title="EVSE Web Interface"
      - title="evse web interface"
    google-query: intitle:"evse web interface"
  tags: panel,evlink,evse,login,detect,schneider-electric,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/cgi-bin/cgiServer?worker=LoginForm"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "EVSE Web Interface</title>"
          - "Charging station</title>"
        condition: or

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