Code injection in Nette - CVE-2020-15227
Published: October 1, 2020 / Updated: January 28, 2021
Vulnerability identifier: #VU47491
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-15227
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to improper input validation in URL. A remote attacker can pass specially crafted data to the application and execute arbitrary PHP code on the server.
Affected software
Nette
Ubuntu
php-nette (Ubuntu package)
Ubuntu
php-nette (Ubuntu package)
How to mitigate CVE-2020-15227
Install updates from vendor's website.
Nette - addressed in versions 2.0.19, 2.1.13, 2.2.10, 2.3.14, 2.4.16, 3.0.6
php-nette (Ubuntu package) - addressed in versions Ubuntu Pro, 2.4-20160731-1ubuntu0.1
php-nette (Ubuntu package) - addressed in versions Ubuntu Pro, 2.4-20160731-1ubuntu0.1
Links to Public Exploits and PoC-codes
- Exploit #5094 - cve-2020-15227 (Tester for a vulnerability CVE-2020-15227 found in nette/application and nette/nette) (January 28, 2021)
- Exploit #4845 - CVE-2020-15227 (CVE-2020-15227 checker) (November 17, 2020)
- Exploit #4705 - CVE-2020-15227 (CVE-2020-15227 exploit) (October 14, 2020)
- Exploit #4689 - CVE-2020-15227 (CVE-2020-15227 exploit) (October 10, 2020)