github.com
https://github.com/nystudio107/craft-seomatic CVE-2021-41749
CRITICALNuclei
Code Injection in SEOmatic
Record summary
CVE-2021-41749 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
Description
In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.
Description source: CVE List
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
nystudio107/craft-seomaticBrowse Packagist / nystudio107/craft-seomatic | GitHub Advisory | Before 3.4.11 · Fixed in 3.4.11 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALCraftCMS SEOmatic - Server-Side Template InjectionCVSS 9.8
In the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side. Template Injection, allowing for remote code execution.
Impact
Unauthenticated attackers can exploit SSTI via X-Forwarded-Host header to execute arbitrary Twig templates and system commands, achieving complete server compromise.
Remediation
Upgrade to CraftCMS SEOmatic version 3.4.12 or later.
WeaknessesCWE-94
Authorsiamnoooob, ritikchaddha
Template tagscve2021cvecraftcmscmssstinystudio107craft_cmsvuln
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CPE: cpe:2.3:a:nystudio107:seomatic:*:*:*:*:*:craft_cms:*:*
Shodan: X-Powered-By: Craft CMS html:"SEOmatic"
Shodan: x-powered-by: craft cms
Shodan: x-powered-by: craft cms html:"seomatic"
https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d https://nvd.nist.gov/vuln/detail/CVE-2021-41749 https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md
Source: ProjectDiscovery
References
4github.com
https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md github.com
https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2021-41749