Description
Drupal core provides a cache array class that collects values on demand and writes them back to the cache when the object is destroyed.
The Drupal 7.102 security release made that write back refuse an object whose list of keys to persist is not an array, as one of three independent layers against PHP object injection gadget chains. When that release was merged back into the 7.x branch, the check was dropped, so Drupal 7.103 and every later release, including all previous D7ES releases, accept such a forged object again.
This vulnerability is mitigated by the fact that an attacker must already be able to pass untrusted data to PHP unserialization through some other flaw, and by the fact that the other two layers added in Drupal 7.102 are still present and block the publicly known Drupal 7 gadget chains on a site with a rebuilt registry.
Solution
Install the latest version.
Reported by
Fixed by
- Tag1 D7ES
Coordinated by
- Swan Kalata (akalata) of the Drupal Security Team
- Drew Webber (mcdruid) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team
- Tag1 D7ES