SB2017031701 - Three vulnerabilities in Drupal
Published: March 17, 2017
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Improper access control (CVE-ID: CVE-2017-6377)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to access potentially sensitive information.
The vulnerability exists due to incorrect permissions assigned for uploaded private files using a configured text editor (like CKEditor). The editor does not correctly check access for the file being attached, which can lead to disclosure of private files.
2) Cross-site request forgery (CVE-ID: CVE-2017-6379)
CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to perform CSRF attacks.
The vulnerability exists due to certain administrative forms do not have protection against CSRF attacks. A remote attacker can create a specially crafted website, trick the logged-in administrator to visit it and disable some blocks on affected website.
Successful exploitation of the vulnerability requires knowledge of block identifier.
3) PHP code injection (CVE-ID: CVE-2017-6381)
CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.
The vulnerability exists due to usage of a 3rd party development library in Drupal before 8.2.2. A remote attacker send a specially crafted request to /vendor/phpunit URL and execute arbitrary PHP code on the server.
Remediation
Install update from vendor's website.