Yiiframework : Security Vulnerabilities, CVEs,
yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth2 PKCE implementation is vulnerable in 2 ways. First, the `authCodeVerifier` should be removed after usage (similar to `authState`). Second, there is a risk for a `downgrade attack` if PKCE is being relied on for CSRF protection. Version 2.2.15 contains a patch for the issue. No known workarounds are available.
Max CVSS
8.8
EPSS Score
0.06%
Published
2023-12-22
Updated
2024-01-08
yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth1/2 `state` and OpenID Connect `nonce` is vulnerable for a `timing attack` since it is compared via regular string comparison (instead of `Yii::$app->getSecurity()->compareString()`). Version 2.2.15 contains a patch for the issue. No known workarounds are available.
Max CVSS
9.8
EPSS Score
0.06%
Published
2023-12-22
Updated
2024-01-08
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.
Max CVSS
9.8
EPSS Score
0.38%
Published
2023-11-14
Updated
2023-11-20
** DISPUTED ** SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows the a remote attacker to execute arbitrary code via the runAction function. NOTE: the software maintainer's position is that the vulnerability is in third-party code, not in the framework.
Max CVSS
9.8
EPSS Score
0.17%
Published
2023-04-04
Updated
2023-04-14
`yiisoft/yii` before version 1.1.27 are vulnerable to Remote Code Execution (RCE) if the application calls `unserialize()` on arbitrary user input. This has been patched in 1.1.27.
Max CVSS
9.8
EPSS Score
0.39%
Published
2022-11-23
Updated
2022-11-30
Yii Yii2 Gii through 2.2.4 allows stored XSS by injecting a payload into any field.
Max CVSS
5.4
EPSS Score
0.06%
Published
2022-12-09
Updated
2022-12-13
** DISPUTED ** Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books. NOTE: this is disputed by the vendor because the cve-2022-31454-8e8555c31fd3 page does not describe why /books has a relationship to Yii 2.
Max CVSS
6.1
EPSS Score
0.05%
Published
2023-07-28
Updated
2023-08-14
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
Max CVSS
8.1
EPSS Score
0.08%
Published
2021-08-10
Updated
2022-04-25
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
Max CVSS
8.1
EPSS Score
0.08%
Published
2021-08-10
Updated
2022-04-25
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.
Max CVSS
8.8
EPSS Score
0.73%
Published
2023-01-21
Updated
2023-01-30
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
Max CVSS
10.0
EPSS Score
2.08%
Published
2020-09-15
Updated
2020-09-22
Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.
Max CVSS
5.9
EPSS Score
0.06%
Published
2019-01-28
Updated
2019-02-20
Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.
Max CVSS
8.1
EPSS Score
0.34%
Published
2018-03-21
Updated
2018-04-20
Yii 2.x before 2.0.15 allows remote attackers to execute arbitrary LUA code via a variant of the CVE-2018-7269 attack in conjunction with the Redis extension.
Max CVSS
9.8
EPSS Score
0.48%
Published
2018-03-21
Updated
2018-04-17
The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.
Max CVSS
9.8
EPSS Score
0.12%
Published
2018-03-21
Updated
2018-04-20
In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the error handler page in non-debug mode. Related to base/ErrorHandler.php, log/Dispatcher.php, and views/errorHandler/exception.php.
Max CVSS
7.5
EPSS Score
0.25%
Published
2018-01-22
Updated
2020-08-24
In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.
Max CVSS
8.8
EPSS Score
0.07%
Published
2018-01-22
Updated
2018-02-09
An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, because $exception->errorInfo is mishandled.
Max CVSS
6.1
EPSS Score
0.07%
Published
2017-07-21
Updated
2017-07-25
web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path in the view parameeter.
Max CVSS
9.8
EPSS Score
0.09%
Published
2023-09-21
Updated
2023-09-22
Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.4 allows remote attackers to inject arbitrary web script or HTML via vectors related to JSON, arrays, and Internet Explorer 6 or 7.
Max CVSS
4.3
EPSS Score
0.19%
Published
2015-05-14
Updated
2016-12-06
The CDetailView widget in Yii PHP Framework 1.1.14 allows remote attackers to execute arbitrary PHP scripts via vectors related to the value property.
Max CVSS
7.5
EPSS Score
0.55%
Published
2014-07-03
Updated
2014-07-24
21 vulnerabilities found