id: CVE-2018-16671

info:
  name: CirCarLife <4.3 - Improper Authentication
  author: geeknik
  severity: medium
  description: CirCarLife before 4.3 is susceptible to improper authentication. A system software information disclosure exists due to lack of authentication for /html/device-id. An attacker can obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive data, compromising the confidentiality and integrity of the system.
  remediation: |
    Upgrade CirCarLife to version 4.3 or higher to fix the improper authentication issue.
  reference:
    - https://www.exploit-db.com/exploits/45384
    - https://github.com/SadFud/Exploits/tree/master/Real%20World/Suites/cir-pwn-life
    - https://nvd.nist.gov/vuln/detail/CVE-2018-16671
    - https://github.com/20142995/sectool
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2018-16671
    cwe-id: CWE-200
    epss-score: 0.42489
    epss-percentile: 0.97513
    cpe: cpe:2.3:a:circontrol:circarlife_scada:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: circontrol
    product: circarlife_scada
  tags: cve2018,cve,iot,disclosure,edb,circarlife,scada,circontrol,vuln

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

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

      - type: word
        part: body
        words:
          - "circontrol"

      - type: regex
        part: body
        regex:
          - "(19|20)\\d\\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])"
# digest: 4b0a00483046022100d5a0f2c5c7143d7dc3920300afd3336ad72b834d4fe690031ce04eb65b97f464022100815e18f6bb6518725fe6f62e094c6fe7389596cca0952db9fc2241fad901705a:922c64590222798bb761d5b6d8e72950