CVE-2023-47130: yiisoft/yii deserializing untrusted user input can lead to remote code execution
Impact Affected versions of yiisoft/yii are vulnerable to Remote Code Execution (RCE) if the application calls unserialize() on arbitrary user input.
Patches Upgrade yiisoft/yii to version 1.1.29 or higher.
For more information See the following links for more details: - Git commit - https://owasp.org/www-community/vulnerabilities/PHPObjectInjection
If you have any questions or comments about this advisory, contact us through security form.
Other sources
Yii is an open source PHP web framework. yiisoft/yii before version 1.1.29 are vulnerable to Remote Code Execution (RCE) if the application calls unserialize() on arbitrary user input. An attacker may leverage this vulnerability to compromise the host system. A fix has been developed for the 1.1.29 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.
— MITRE
yiisoft/yii deserializing untrusted user input can lead to remote code execution
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/yiisoft/yiito a version that resolves this vulnerability.Fixed in 1.1.29 - Upgrade
Upgrade
yiisoft/yiito a version that resolves this vulnerability.Fixed in 1.1.29
Event History
Frequently Asked Questions
What is the impact of CVE-2023-47130?
CVE-2023-47130 allows Remote Code Execution (RCE) if the application calls 'unserialize()' on arbitrary user input.
How do I fix CVE-2023-47130?
To fix CVE-2023-47130, upgrade 'yiisoft/yii' to version 1.1.29 or higher.
Where can I find more information about CVE-2023-47130?
You can find more information about CVE-2023-47130 in the following links: [GitHub Advisory](https://github.com/yiisoft/yii/security/advisories/GHSA-mw2w-2hj2-fg8q), [GitHub Commit](https://github.com/yiisoft/yii/commit/37142be4dc5831114a375392e86d6450d4951c06), [OWASP PHP Object Injection](https://owasp.org/www-community/vulnerabilities/PHP_Object_Injection).
What is the severity of CVE-2023-47130?
The severity of CVE-2023-47130 is high with a CVSS score of 8.1.
What is the CWE of CVE-2023-47130?
The CWE of CVE-2023-47130 is CWE-502 (Deserialization of Untrusted Data).