Drupal core access bypass vulnerability
The advisory, in context
In Drupal core 8.x prior to 8.3.4 and Drupal core 7.x prior to 7.56; Private files that have been uploaded by an anonymous user but not permanently attached to content on the site should only be visible to the anonymous user that uploaded them, rather than all anonymous users. Drupal core did not previously provide this protection, allowing an access bypass vulnerability to occur. This issue is mitigated by the fact that in order to be affected, the site must allow anonymous users to upload files into a private file system.
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.
From 7.0 before 7.56
Fixed in 7.56
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.56"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 8.0 before 8.3.4
Fixed in 8.3.4
58 explicitly affected versions
8.0.0, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12, 8.0.0-beta13, 8.0.0-beta14, 8.0.0-beta15, 8.0.0-beta16, 8.0.0-beta6, 8.0.0-beta7, 8.0.0-beta8, 8.0.0-beta9, 8.0.0-rc1, 8.0.0-rc2, 8.0.0-rc3, 8.0.0-rc4, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.1.0, 8.1.0-beta1, 8.1.0-beta2, 8.1.0-rc1, 8.1.1, 8.1.10, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.2.0, 8.2.0-beta1, 8.2.0-beta2, 8.2.0-beta3, 8.2.0-rc1, 8.2.0-rc2, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.3.0, 8.3.0-alpha1, 8.3.0-beta1, 8.3.0-rc1, 8.3.0-rc2, 8.3.1, 8.3.2, 8.3.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.3.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.0",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta8",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3"
]
}From 8.0 before 8.3.4
Fixed in 8.3.4
64 explicitly affected versions
8.0.0, 8.0.0-alpha14, 8.0.0-alpha15, 8.0.0-beta1, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12, 8.0.0-beta13, 8.0.0-beta14, 8.0.0-beta15, 8.0.0-beta16, 8.0.0-beta2, 8.0.0-beta3, 8.0.0-beta4, 8.0.0-beta5, 8.0.0-beta6, 8.0.0-beta7, 8.0.0-beta9, 8.0.0-rc1, 8.0.0-rc2, 8.0.0-rc3, 8.0.0-rc4, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.1.0, 8.1.0-beta1, 8.1.0-beta2, 8.1.0-rc1, 8.1.1, 8.1.10, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.2.0, 8.2.0-beta1, 8.2.0-beta2, 8.2.0-beta3, 8.2.0-rc1, 8.2.0-rc2, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.3.0, 8.3.0-alpha1, 8.3.0-beta1, 8.3.0-rc1, 8.3.0-rc2, 8.3.1, 8.3.2, 8.3.3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.3.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.0",
"8.0.0-alpha14",
"8.0.0-alpha15",
"8.0.0-beta1",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta2",
"8.0.0-beta3",
"8.0.0-beta4",
"8.0.0-beta5",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3"
]
}From 7.0 before 7.56
Fixed in 7.56
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.56"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}References
- https://nvd.nist.gov/vuln/detail/CVE-2017-6922
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6922.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6922.yaml
- https://github.com/drupal/core
- https://www.debian.org/security/2017/dsa-3897
- https://www.drupal.org/SA-CORE-2017-003
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-06-21/drupal-core-multiple
- http://www.securityfocus.com/bid/99219
- http://www.securitytracker.com/id/1038781