Drupal access bypass vulnerability
Impact
In Drupal versions 8.4.x versions before 8.4.5 when using node access controls with a multilingual site, Drupal marks the untranslated version of a node as the default fallback for access queries. This fallback is used for languages that do not yet have a translated version of the created node. This can result in an access bypass vulnerability. This issue is mitigated by the fact that it only applies to sites that a) use the Content Translation module; and b) use a node access module such as Domain Access which implement hook_node_access_records().
Source excerpt · OSVThis issue is mitigated by the fact that it only applies to sites that a) use the Content Translation module; and b) use a node access module such as Domain Access which implement hook_node_access_records().
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 8.4.0 before 8.4.5Ecosystem versions | 8.4.5 |
Version evidence: OSV · GHSA-3327-jr93-7hq3
View original version evidence (5 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 8.4.0 before 8.4.5Ecosystem versions | 8.4.5 |
Version evidence: OSV · GHSA-3327-jr93-7hq3
View original version evidence (5 explicit versions)
Original source description
In Drupal versions 8.4.x versions before 8.4.5 when using node access controls with a multilingual site, Drupal marks the untranslated version of a node as the default fallback for access queries. This fallback is used for languages that do not yet have a translated version of the created node. This can result in an access bypass vulnerability. This issue is mitigated by the fact that it only applies to sites that a) use the Content Translation module; and b) use a node access module such as Domain Access which implement hook_node_access_records().
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2017-6930
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6930.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6930.yaml
- Source reference github.com/drupal/core
- Security advisory www.drupal.org/sa-core-2018-001