Smarty 2.6.18 modifier.regex_replace.php input validation

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 marked as critical has been reported in Smarty 2.6.18. This affects an unknown function of the file modifier.regex_replace.php. This manipulation causes input validation. The identification of this vulnerability is CVE-2008-1066. There is no exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Smarty 2.6.18 (Customer Relationship Management System) and classified as critical. Affected by this vulnerability is an unknown code of the file modifier.regex_replace.php. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a \0 character in a search string.

The bug was discovered 02/11/2008. The weakness was shared 02/28/2008 (Website). The advisory is shared at redhat.com. This vulnerability is known as CVE-2008-1066 since 02/28/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 17 days. During that time the estimated underground price was around $0-$5k. 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 31637 (openSUSE 10 Security Update : moodle (moodle-5109)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l.

Upgrading to version 2.6.18 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (41002), Tenable (31637), SecurityFocus (BID 28105†), OSVDB (43064†) and Secunia (SA29241†). The entry VDB-41263 is related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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: Input validation
CWE: CWE-20
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: 31637
Nessus Name: openSUSE 10 Security Update : moodle (moodle-5109)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 60572
OpenVAS Name: Debian Security Advisory DSA 1520-1 (smarty)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Smarty 2.6.18

Timelineinfo

02/11/2008 🔍
02/28/2008 +17 days 🔍
02/28/2008 +0 days 🔍
02/28/2008 +0 days 🔍
02/28/2008 +0 days 🔍
03/05/2008 +6 days 🔍
03/05/2008 +0 days 🔍
03/19/2008 +14 days 🔍
03/21/2008 +2 days 🔍
03/25/2008 +4 days 🔍
03/16/2015 +2547 days 🔍
08/07/2019 +1605 days 🔍

Sourcesinfo

Advisory: redhat.com
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-1066 (🔍)
GCVE (CVE): GCVE-0-2008-1066
GCVE (VulDB): GCVE-100-41269

OVAL: 🔍

X-Force: 41002
SecurityFocus: 28105 - Smarty Template Engine 'regex_replace' Template Security Bypass Vulnerability
Secunia: 29241 - Smarty "regex_replace" Modifier Template Security Bypass, Less Critical
OSVDB: 43064 - CVE-2008-1066 - Smarty - Template Engine - Security Bypass Issue
Vulnerability Center: 18007 - Smarty Modifier.regex_replace.php Plugin Vulnerability Allows Remote Attackers to Execute PHP Code, High

See also: 🔍

Entryinfo

Created: 03/16/2015 13:43
Updated: 08/07/2019 17:16
Changes: 03/16/2015 13:43 (81), 08/07/2019 17:16 (4)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!