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

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: 4a0a00473045022060101432ca6c04eaf16711898a93687730477da3ea11af4592ac8c8a6d8c6fa90221009defa11cf733e42ae2d886e89eaee557b0c19320ff06f03916d17a8ffe653802:922c64590222798bb761d5b6d8e72950