CVE-2020-9757 (published 2020-03-04T17:15Z)

The SEOmatic component before 3.3.0 for Craft CMS allows Server-Side Template Injection that leads to RCE via malformed data to the metacontainers controller.

Severity: HIGH
CVSS v2 base score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS v3 base score: 9.8, CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Weakness information:
cwe_id: CWE-74
cwe_name: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
description: The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
extended_description: Software or other automated logic has certain assumptions about what constitutes data and control respectively. It is the lack of verification of these assumptions for user-controlled input that leads to injection problems. Injection problems encompass a wide variety of issues -- all mitigated in very different ways and usually attempted in order to alter the control flow of the process. For this reason, the most effective way to discuss these weaknesses is to note the distinct features that classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common -- i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed.
         

Fix information:
repo_url: https://github.com/nystudio107/craft-seomatic
commit_details: repo_url: https://github.com/nystudio107/craft-seomatic
author: Andrew Welch
author_date: 2020-04-27 19:25:12-04:00
msg: Version 3.3.0
repository: repo_url: https://github.com/nystudio107/craft-seomatic
repo_name: nystudio107/craft-seomatic
description: SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.
repo_language: PHP
owner: nystudio107
file_changes: filename: CHANGELOG.md
change_type: ModificationType.MODIFY
diff: @@ -18,6 +18,9 @@
 * No longer delete caches  in response to `TemplateCaches::EVENT_AFTER_DELETE_CACHES`
 * Fixed an issue where SEO previews could have the wrong URLs for multi-site setups
 
+### Security
+* Fixed a regression where malformed data passed to the metacontainers controller could result in SSTI which leads to information disclosure
+
 ## 3.2.51 - 2020.04.06
 ### Added
 * Updated to [Schema.org 7.0.3](https://schema.org/version/7.03/schema-all.html) including [SpecialAnnouncement](https://webmasters.googleblog.com/2020/04/highlight-covid-19-announcements-search.html) and other types/changes to handle the COVID-19 crisis

programming_language: Markdown
repo_url: https://github.com/nystudio107/craft-seomatic
commit_details: repo_url: https://github.com/nystudio107/craft-seomatic
author: Andrew Welch
author_date: 2020-03-03 22:02:13+11:00
msg: Version 3.2.46

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
repository: repo_url: https://github.com/nystudio107/craft-seomatic
repo_name: nystudio107/craft-seomatic
description: SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.
repo_language: PHP
owner: nystudio107
file_changes: filename: CHANGELOG.md
change_type: ModificationType.MODIFY
diff: @@ -5,7 +5,7 @@
 * Fixed some dates to dateCreated as categories doesn't have postDate
 
 ### Security
-* Fixed an issue where malformed data passed to the metacontainers controller could result in XSS
+* Fixed an issue where malformed data passed to the metacontainers controller could result in SSTI which leads to information disclosure
 
 ## 3.2.45 - 2020.02.28
 ### Added

programming_language: Markdown