Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. piwik/piwik
  4. ›
  5. GMS-2016-85

GMS-2016-85: PHP Object Injection Vulnerability

November 10, 2016

There’s a PHP Object Injection vulnerability that can be triggered through the saveLayout() method defined into the /plugins/Dashboard/Controller.php script. Since Piwik is not using “utf8mb4” collations for its database, this can be exploited in combination with a MySQL UTF8 truncation issue in order to corrupt the session array, allowing unauthenticated attackers to inject arbitrary PHP objects into the application scope and carry out Server-Side Request Forgery (SSRF) attacks, delete arbitrary files, execute arbitrary PHP code, and possibly other attacks.

References

  • karmainsecurity.com/KIS-2016-13

Code Behaviors & Features

Detect and mitigate GMS-2016-85 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.16.1

Fixed versions

  • 2.16.1

Solution

Upgrade to version 2.16.1 or above.

Source file

packagist/piwik/piwik/GMS-2016-85.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.