Vulnerability Details : CVE-2021-23803
This affects the package latte/latte before 2.10.6. There is a way to bypass allowFunctions that will affect the security of the application. When the template is set to allow/disallow the use of certain functions, adding control characters (x00-x08) after the function will bypass these restrictions.
Products affected by CVE-2021-23803
- cpe:2.3:a:nette:latte:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23803
0.41%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23803
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
Snyk |
CWE ids for CVE-2021-23803
-
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23803
-
https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210
Parser: removes all control characters from template [Closes #279] · nette/latte@227c86e · GitHubPatch;Third Party Advisory
-
https://github.com/nette/latte/issues/279
There is a way to bypass allowFunctions · Issue #279 · nette/latte · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226
Access Control Bypass in latte/latte | SnykExploit;Patch;Third Party Advisory
Jump to