Smarty up to 2.6.7 modifier.regex_replace.php Remote Code Execution
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Smarty up to 2.6.7. This vulnerability affects unknown code of the file modifier.regex_replace.php. The manipulation results in Remote Code Execution. This vulnerability is known as CVE-2005-0913. No exploit is available. The affected component should be upgraded.
Details
A vulnerability was found in Smarty up to 2.6.7 (Customer Relationship Management System). It has been classified as critical. Affected is an unknown part of the file modifier.regex_replace.php. The manipulation with an unknown input leads to a remote code execution vulnerability. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Unknown vulnerability in the regex_replace modifier (modifier.regex_replace.php) in Smarty before 2.6.8 allows attackers to execute arbitrary PHP code.
The weakness was published 05/02/2005 (Website). The advisory is shared for download at security.gentoo.org. This vulnerability is traded as CVE-2005-0913 since 03/29/2005. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.
By approaching the search of inurl:modifier.regex_replace.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 17665 (GLSA-200503-35 : Smarty: Template vulnerability), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks.
Upgrading to version 2.6.8 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (19880), Tenable (17665), SecurityFocus (BID 12941†), Secunia (SA14729†) and SecurityTracker (ID 1013556†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Remote Code ExecutionCWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 17665
Nessus Name: GLSA-200503-35 : Smarty: Template vulnerability
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 54900
OpenVAS Name: Gentoo Security Advisory GLSA 200503-35 (smarty)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Smarty 2.6.8
Timeline
03/24/2005 🔍03/29/2005 🔍
03/29/2005 🔍
03/29/2005 🔍
03/29/2005 🔍
04/01/2005 🔍
05/02/2005 🔍
05/02/2005 🔍
07/21/2009 🔍
03/10/2015 🔍
07/01/2021 🔍
Sources
Advisory: security.gentoo.orgStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2005-0913 (🔍)
GCVE (CVE): GCVE-0-2005-0913
GCVE (VulDB): GCVE-100-24720
X-Force: 19880
SecurityFocus: 12941 - Smarty Template Engine Remote PHP Script Execution Vulnerability
Secunia: 14729 - Smarty "regex_replace" Modifier Template Security Bypass, Less Critical
SecurityTracker: 1013556 - Smarty regex_replace Modifier Template Security Bug Lets Users Execute PHP Code
Vulnerability Center: 22931 - Smarty < 2.6.8 Regex Replace Modifier Remote Arbitrary Code Execution Vulnerability, High
Entry
Created: 03/10/2015 23:05Updated: 07/01/2021 21:41
Changes: 03/10/2015 23:05 (60), 02/12/2017 12:47 (17), 07/01/2021 21:41 (3)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.