Smarty before 4.5.8 and 5.x before 5.8.5 PHP Code Injection via extends: Inheritance Cache
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| smarty-php | smarty | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Newmediacompany | Smarty |
|
||||||||||||||||||||
| Smarty-php | Smarty |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.821% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Smarty-php
Smarty-php smarty |
|
| Vendors & Products |
Smarty-php
Smarty-php smarty |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution. | |
| Title | Smarty before 4.5.8 and 5.x before 5.8.5 PHP Code Injection via extends: Inheritance Cache | |
| First Time appeared |
Newmediacompany
Newmediacompany smarty |
|
| Weaknesses | CWE-94 | |
| CPEs | cpe:2.3:a:newmediacompany:smarty:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Newmediacompany
Newmediacompany smarty |
|
| References |
|
|
| Metrics |
cvssV3_1
|