id: brickcom-camera-unauth-snapshot

info:
  name: Brickcom Camera - Unauthenticated Snapshot Access
  author: 0xr2r
  severity: high
  description: |
    Detected Brickcom IP cameras was exposed live camera snapshots without authentication via the ONVIF media endpoint.
  reference:
    - https://cxsecurity.com/issue/WLB-2026020031
  metadata:
    verified: true
    max-request: 2
    shodan-query: 'realm="Brickcom"'
  tags: iot,camera,default-login,exposure,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/ONVIF/media.cgi?action=getSnapshot"
      - "{{BaseURL}}/ONVIF/media.cgi?action=getSnapshot&channel=1"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: header
        words:
          - "image/jpeg"
# digest: 4b0a004830460221009c631e06a6c5003abf641e86099cd3968caabc0120a5d10faeb128f51d7506a6022100ccf46ae904671d341e6107fa61172789c66c6d10555f7ff6f82eb236be859c40:922c64590222798bb761d5b6d8e72950