RoundCube Webmail 0.2 html2text.php preg_replace code injection

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.
10.0$0-$5k0.00

Summaryinfo

A vulnerability was found in RoundCube Webmail 0.2. It has been classified as critical. Affected by this issue is the function preg_replace of the file html2text.php. Performing a manipulation results in code injection. This vulnerability is cataloged as CVE-2008-5619. Furthermore, there is an exploit available.

Detailsinfo

A vulnerability was found in RoundCube Webmail 0.2 (Mail Client Software). It has been classified as very critical. This affects the function preg_replace of the file html2text.php. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

html2text.php in Chuggnutt HTML to Text Converter, as used in RoundCube Webmail (roundcubemail) 0.2-1.alpha and 0.2-3.beta, Mahara, and AtMail Open 1.03, allows remote attackers to execute arbitrary code via crafted input that is processed by the preg_replace function with the eval switch.

The weakness was shared 04/22/2009 by Jacobo Avariento (Website). It is possible to read the advisory at redhat.com. This vulnerability is uniquely identified as CVE-2008-5619 since 12/16/2008. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 11/20/2024). The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.

A public exploit has been developed by Jacobo Avariento and been published even before and not after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. By approaching the search of inurl:html2text.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 35273 (RoundCube Webmail bin/html2text.php Post Request Remote PHP Code Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses.

A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 6919.

The vulnerability is also documented in the databases at X-Force (47301), Exploit-DB (7549), Tenable (35273), SecurityFocus (BID 32799†) and OSVDB (53893†). The entry VDB-45520 is related to this item. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 10.0

VulDB Base Score: 10.0
VulDB Temp Score: 10.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Jacobo Avariento
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 35273
Nessus Name: RoundCube Webmail bin/html2text.php Post Request Remote PHP Code Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 63094
OpenVAS Name: FreeBSD Ports: roundcube
OpenVAS File: 🔍
OpenVAS Family: 🔍

D2Sec: Roundcube 0.2beta RCE

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍
TippingPoint: 🔍
Fortigate IPS: 🔍

Timelineinfo

12/12/2008 🔍
12/12/2008 +0 days 🔍
12/15/2008 +3 days 🔍
12/16/2008 +1 days 🔍
12/16/2008 +0 days 🔍
12/22/2008 +6 days 🔍
12/22/2008 +0 days 🔍
12/23/2008 +1 days 🔍
12/26/2008 +3 days 🔍
04/22/2009 +117 days 🔍
04/22/2009 +0 days 🔍
04/22/2009 +0 days 🔍
03/17/2015 +2154 days 🔍
11/20/2024 +3536 days 🔍

Sourcesinfo

Advisory: 2148
Researcher: Jacobo Avariento
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-5619 (🔍)
GCVE (CVE): GCVE-0-2008-5619
GCVE (VulDB): GCVE-100-45519

OVAL: 🔍

X-Force: 47301
SecurityFocus: 32799
Secunia: 33145 - chuggnutt.com "HTML to Plain Text Conversion" PHP Class Code Execution, Moderately Critical
OSVDB: 53893 - Mahara html2text HTML To Plain Text Conversion Arbitrary Code Execution
Vulnerability Center: 20311 - RoundCube Webmail html2text.php Remote Code Execution Vulnerability via a Crafted Input, Medium
Vupen: ADV-2008-3418

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 11/20/2024 19:12
Changes: 03/17/2015 16:11 (68), 01/29/2018 16:09 (21), 08/03/2021 15:18 (3), 08/03/2021 15:23 (2), 08/03/2021 15:29 (1), 11/20/2024 19:12 (15)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!