In the SEOmatic plugin before 3.2.49 for Craft CMS, helpers/DynamicMeta.php does not properly sanitize the URL. This leads to Server-Side Template Injection and credentials disclosure via a crafted Twig template after a semicolon.
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.
Link | Tags |
---|---|
https://github.com/nystudio107/craft-seomatic/releases/tag/3.2.49 | third party advisory release notes |
https://github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324 | third party advisory release notes |
https://isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt | third party advisory exploit |
https://github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff-52fd042c50432133a00a8f840f4a6165 | third party advisory patch |