CVE-2016-3171 Drupal arbitrary code execution

High 8.1 Published Updated

Remote attackers can execute arbitrary code in Drupal 6.x due to session data truncation issues when running on vulnerable PHP versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-3171?

CVE-2016-3171 is a high-severity code injection vulnerability in Debian Debian Linux, published on 12 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Drupal 6.x before 6.38, when used with PHP before 5.4.45, 5.5.x before 5.5.29, or 5.6.x before 5.6.13, might allow remote attackers to execute arbitrary code via vectors related to session data truncation.

Weakness: CWE-19

Which versions are affected by CVE-2016-3171?

4 open source packages ship an affected version, including drupal/core and drupal/drupal. It affects 2 products.

PackageAffectedFixed in
drupal/core PackagistFrom 6.06.38
drupal/core PackagistFrom 6.06.38
drupal/drupal PackagistFrom 6.06.38
drupal/drupal PackagistFrom 6.06.38

Products include Debian Debian Linux, Drupal Drupal.

How do I fix CVE-2016-3171?

Upgrade drupal/core to 6.38 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-3171 being exploited?

There is no known exploitation of CVE-2016-3171 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-69g8-g9jq-74v7.

Is CVE-2016-3171 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free