A Server Side Template Injection (SSTI) was discovered in the SEOmatic plugin before 3.1.4 for Craft CMS, because requests that don't match any elements incorrectly generate the canonicalUrl, and can lead to execution of Twig code.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://www.exploit-db.com/exploits/45108/ | exploit vdb entry third party advisory |
https://github.com/nystudio107/craft-seomatic/releases/tag/3.1.4 | patch vendor advisory |
https://twitter.com/nystudio107/status/1021855169515057152 | vendor advisory |
http://ha.cker.info/exploitation-of-server-side-template-injection-with-craft-cms-plguin-seomatic/ | third party advisory |
https://twitter.com/nystudio107/status/1021847835418009605 | vendor advisory |
https://github.com/nystudio107/craft-seomatic/commit/1e7d1d084ac3a89e7ec70620f2749110508d1ce1 | vendor advisory |