Yii Yii2 Gii up to 2.2.1 Generator.php messageCategory code injection
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.4 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, has been found in Yii Yii2 Gii up to 2.2.1. This issue affects an unknown code of the file Generator.php. The manipulation of the argument messageCategory
with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Yii Yii2 Gii before 2.2.2 allows remote attackers to execute arbitrary code via the Generator.php messageCategory field. The attacker can embed arbitrary PHP code into the model file.
The weakness was published 01/21/2023 as 433. The advisory is shared at github.com. The identification of this vulnerability is CVE-2020-36655 since 01/21/2023. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1059 for this issue.
By approaching the search of inurl:Generator.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 2.2.2 eliminates this vulnerability.
Product
Vendor
Name
CPE 2.3
CPE 2.2
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔒
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
ATT&CK: T1059
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Google Hack: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Yii2 Gii 2.2.2
Timeline
01/21/2023 Advisory disclosed01/21/2023 CVE reserved
01/21/2023 VulDB entry created
02/18/2023 VulDB last update
Sources
Advisory: 433Status: Confirmed
CVE: CVE-2020-36655 (🔒)
Entry
Created: 01/21/2023 01:40 PMUpdated: 02/18/2023 09:39 AM
Changes: 01/21/2023 01:40 PM (42), 02/18/2023 09:39 AM (11)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.