Smarty up to 2.6.7 modifier.regex_replace.php Remote Code Execution

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Remote Code Execution
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Smarty 2.6.8

Timelineinfo

03/24/2005 🔍
03/29/2005 +5 days 🔍
03/29/2005 +0 days 🔍
03/29/2005 +0 days 🔍
03/29/2005 +0 days 🔍
04/01/2005 +3 days 🔍
05/02/2005 +31 days 🔍
05/02/2005 +0 days 🔍
07/21/2009 +1541 days 🔍
03/10/2015 +2058 days 🔍
07/01/2021 +2305 days 🔍

Sourcesinfo

Advisory: security.gentoo.org
Status: 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

Entryinfo

Created: 03/10/2015 23:05
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!