Piwik < 0.5 unserialize() PHP Code Execution Vulnerability

High Nessus Network Monitor Plugin ID 5263

Synopsis

The remote web server is hosting a PHP application that is vulnerable to a remote code execution vulnerability.

Description

The remote web server is hosting Piwik, a web analytics application written in PHP. The installed version is earlier than 0.5. Such versions are potentially affected by a remote PHP code execution vulnerability because the application unserializes data from user supplied cookies. An attacker could send a specially crafted cookie which, when unserialized, could be used to upload arbitrary files or possibly execute arbitrary PHP code.

Solution

Upgrade to Piwik 0.5 or later.

See Also

http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation

Plugin Details

Severity: High

ID: 5263

File Name: 5263.prm

Family: CGI

Published: 2009/12/09

Modified: 2016/01/15

Dependencies: 1442

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSSv3

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:piwik:piwik

Patch Publication Date: 2009/12/09

Vulnerability Publication Date: 2009/12/09

Reference Information

BID: 37312