CVE-2011-4941: Piwik/piwik Piwik (now Matomo) Vulnerable To Vulnerability
MODERATECVE-2011-4941 is a MODERATE piwik (now matomo) vulnerable to vulnerability (CWE-269: Improper Privilege Management) affecting Piwik/piwik libraries in the Packagist ecosystem. The issue involves piwik (now matomo) vulnerable to arbitrary code execution. Remediation is available by upgrading affected packages to version 1.5.
CVE-2011-4941 at a Glance
How to Fix CVE-2011-4941
To remediate this vulnerability, upgrade all affected Piwik/piwik dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade piwik/piwik to 1.5
Upgrade matomo/matomo to 1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for piwik/piwik
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-4941, inspect your project dependencies for Piwik/piwik:
inspect dependencies for piwik/piwik
Analyze the terminal output to locate any version of Piwik/piwik in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Piwik/piwik, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-4941 Affected Piwik/piwik Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
piwik/piwik
|
Packagist |
≥ 1.2
< 1.5
|
1.5
|
|
matomo/matomo
|
Packagist |
≥ 1.2
< 1.5
|
1.5
|
References
Frequently Asked Questions
What is CVE-2011-4941?
Which Piwik/piwik versions are affected?
What version fixes CVE-2011-4941?
Is piwik/piwik affected?
Is matomo/matomo affected?
What CWE is associated with CVE-2011-4941?
How can I check Packagist dependencies for CVE-2011-4941?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2qr8-h6pq-m27v",
"modified" : "2025-04-12T00:12:36Z",
"published" : "2022-05-13T01:30:29Z",
"aliases" : [ "CVE-2011-4941" ],
"summary" : "Piwik (now Matomo) Vulnerable to Arbitrary Code Execution",
"details" : "Unspecified vulnerability in Piwik 1.2 through 1.4 allows remote attackers with the view permission to execute arbitrary code via unknown attack vectors.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "piwik/piwik"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2"
}, {
"fixed" : "1.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "matomo/matomo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2"
}, {
"fixed" : "1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4941"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/matomo-org/matomo"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110626223028/http://piwik.org/blog/2011/06/piwik-1-5-security-advisory"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/03/18/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/03/19/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T00:12:36Z",
"nvd_published_at" : "2012-09-18T18:55:00Z"
}
}