SB2019071906 - Multiple vulnerabilities in Nevma Adaptive Images for WordPress
Published: July 19, 2019 Updated: September 23, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) PHP file inclusion (CVE-ID: CVE-2019-14205)
CWE-ID: CWE-98 - Improper Control of Filename for Include/Require Statement in PHP Program
CVSSv4: 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]
http://[host]/wp-content/uploads/2019/05/image.jpg?adaptive-images-settings[source_file]=../../../wp-config.php
http://[host]/wp-content/uploads/2019/05/image.jpg?adaptive-images-settings[source_file]=/etc/passwd
2) Path traversal (CVE-ID: CVE-2019-14206)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to the plugin contains a cache mechanism that allows the generated resized images to be saved and cached to prevent excessive resources usage. A remote attacker can send a specially crafted file and delete arbitrary files on the system.
The only condition to successfully exploit this vulnerability is that the file that we pass as "$source_file" is newer than the file that we pass as "$cache_file".
Remediation
Install update from vendor's website.