CVE-2020-15086: Friendsoftypo3/mediace Remote Code Execution Vulnerability
CRITICALCVE-2020-15086 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Friendsoftypo3/mediace libraries in the Packagist ecosystem. The issue involves potential remote code execution in typo3 with mediace extension. Remediation is available by upgrading affected packages to version 7.6.5.
CVE-2020-15086 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-15086
To remediate this vulnerability, upgrade all affected Friendsoftypo3/mediace 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 friendsoftypo3/mediace to 7.6.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for friendsoftypo3/mediace
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15086, inspect your project dependencies for Friendsoftypo3/mediace:
inspect dependencies for friendsoftypo3/mediace
Analyze the terminal output to locate any version of Friendsoftypo3/mediace in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.6.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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Friendsoftypo3/mediace, 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-2020-15086 Affected Friendsoftypo3/mediace Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
friendsoftypo3/mediace
|
Packagist |
≥ 7.6.2
< 7.6.5
|
7.6.5
|
References
Frequently Asked Questions
What is CVE-2020-15086?
Which Friendsoftypo3/mediace versions are affected?
What version fixes CVE-2020-15086?
Is friendsoftypo3/mediace affected?
What is the CVSS score of CVE-2020-15086?
What CWE is associated with CVE-2020-15086?
How can I check Packagist dependencies for CVE-2020-15086?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4h44-w6fm-548g",
"modified" : "2024-02-05T10:43:51Z",
"published" : "2020-07-29T16:15:12Z",
"aliases" : [ "CVE-2020-15086" ],
"summary" : "Potential Remote Code Execution in TYPO3 with mediace extension",
"details" : "> ### Meta\n> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C` (9.1)\n> * CWE-325, CWE-20, CWE-200, CWE-502\n\n### Problem\nIt has been discovered that an internal verification mechanism can be used to generate arbitrary checksums. This allows to inject arbitrary data having a valid cryptographic message authentication code (HMAC-SHA1) and can lead to various attack chains as described below.\n\n* [TYPO3-CORE-SA-2020-007](https://typo3.org/security/advisory/typo3-core-sa-2020-007), [CVE-2020-15099](https://nvd.nist.gov/vuln/detail/CVE-2020-15099): Potential Privilege Escalation\n + the database server used for a TYPO3 installation must be accessible for an attacker (either via internet or shared hosting network)\n + `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C` (7.5, high)\n* [TYPO3-CORE-SA-2016-013](https://typo3.org/security/advisory/typo3-core-sa-2016-013), [CVE-2016-5091](https://nvd.nist.gov/vuln/detail/CVE-2016-5091): Insecure Deserialization & Remote Code Execution\n + an attacker must have access to at least one Extbase plugin or module action in a TYPO3 installation\n + `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C` (9.1, critical)\n\nThe overall severity of this vulnerability is critical (9.1) based on mentioned attack chains and the fact it does not require any privileges.\n\n### Solution\nIn case the extension is not used and required at all, it is suggested to uninstall and remove it from the system completely. Otherwise, an updated version 7.6.5 is available from the TYPO3 extension manager, Packagist and the TYPO3 extension repository:\n\n* https://extensions.typo3.org/extension/download/mediace/7.6.5/zip/\n* https://packagist.org/packages/friendsoftypo3/mediace#7.6.5\n\nAs a precautionary measure it is advised to change `encryptionKey` and database credentials in `typo3conf/LocalConfiguration.php`.\n\n### Credits\nThanks to TYPO3 security team member Oliver Hader who reported and fixed the issue.\n\n### References\n* [TYPO3-EXT-SA-2020-014](https://typo3.org/security/advisory/typo3-ext-sa-2020-014)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "friendsoftypo3/mediace"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.6.2"
}, {
"fixed" : "7.6.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfTYPO3/mediace/security/advisories/GHSA-4h44-w6fm-548g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15086"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfTYPO3/mediace/pull/31"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfTYPO3/mediace/commit/fa29ffd3e8b275782a8600d2406e1b1e5e16ae75"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsoftypo3/mediace/CVE-2020-15086.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FriendsOfTYPO3/mediace"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-ext-sa-2020-014"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-200", "CWE-325", "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-07-29T16:09:56Z",
"nvd_published_at" : "2020-07-29T17:15:00Z"
}
}