Quantum Secular Labs / Blog / Advisories
CVE-2008-5619: Roundcube Webmail: Remote code execution
CVE-2008-5619 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects Roundcube Webmail. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, 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.
Severity breakdown
CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access vector: Network. Exploitable remotely over the network.
- Access complexity: Low. No special conditions are required.
- Authentication: None. No authentication is needed.
- Confidentiality impact: Complete. Total information disclosure.
- Integrity impact: Complete. Total loss of integrity.
- Availability impact: Complete. Total shutdown of the component.
Underlying weakness
CWE-94: Improper Control of Generation of Code
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.
Affected products
- Roundcube Webmail: 0.2.1 alpha; 0.2.3 beta
References
- http://secunia.com/advisories/33170
- http://sourceforge.net/forum/forum.php?forum_id=898542
- http://trac.roundcube.net/changeset/2148
- http://trac.roundcube.net/ticket/1485618
- http://mahara.org/interaction/forum/topic.php?id=533
- http://osvdb.org/53893
- http://secunia.com/advisories/33145
- http://secunia.com/advisories/34789
- http://www.openwall.com/lists/oss-security/2008/12/12/1
- http://www.securityfocus.com/archive/1/499489/100/0/threaded
- http://www.vupen.com/english/advisories/2008/3418
- http://www.vupen.com/english/advisories/2008/3419
- https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a
- https://www.exploit-db.com/exploits/7549