Auth bypass in Nette Latte
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nette Latte
- Latte/latte — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226 (Exploit, Patch, Third Party Advisory)
- github.com/nette/latte/issues/279 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210 (Patch, Third Party Advisory)