OS Command Injection in Symfony - CVE-2019-18888
Published: November 19, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists in MimeTypeGuesser within the Symfony HttpFoundation component when parsing data passed via the $path variable. A remote attacker can with ability to upload files can execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
symfony (Debian package)
php-symfony
php-symfony3
Fedora
How to mitigate CVE-2019-18888
symfony (Debian package) - addressed in versions 2.8.7+dfsg-1.3+deb9u3, 3.4.22+dfsg-2+deb10u1
php-symfony - addressed in versions 2.8.52-1.fc30, 2.8.52-1.fc31
php-symfony3 - update to 3.4.35-2.fc31