CVE-2020-12790
Nystudio107 Seomatic vulnerability
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.
Affected products
Seomatic. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nystudio107 Seomatic runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nystudio107/craft-seomatic/commit/82f4a25b28fd622393da6592dc9e5ccee7fc5be3#diff · Patch
- github.com/nystudio107/craft-seomatic/blob/v3/CHANGELOG.md#3249---20200324 · Third Party Advisory
- github.com/nystudio107/craft-seomatic/releases/tag/3.2.49 · Third Party Advisory
- isec.pl/en/vulnerabilities/isec-0028-seomatic-ssti-23032020.txt · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-12790
- cve.org/CVERecord?id=CVE-2020-12790
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.