#VU4789 PHP including in Roundcube


Published: 2017-01-17 | Updated: 2017-03-13

Vulnerability identifier: #VU4789

Vulnerability risk: Critical

CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2013-1904

CWE-ID: CWE-98

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Roundcube
Web applications / Webmail solutions

Vendor: Roundcube

Description
The vulnerability allows a remote attacker to include arbitrary files on the target system.

The weakness exists due to improper sanitization of user-supplied data within "steps/mail/sendmail.inc" script when parsing "generic_message_footer" HTTP parameter passed to "/index.php" script. A remote attacker can send a specially crafted HTTP request to the "index.php" script, include and execute arbitrary PHP script on the affected server.

Successful exploitation of the vulnerability may lead to system compromise.

Note: the vulnerability was being actively exploited.

Mitigation
Update to version 0.7.4 or 0.8.6 or 0.9-RC2.

Vulnerable software versions

Roundcube: 0.8.0 - 0.8.6, 0.7 - 0.7.3, 0.5 - 0.5.4, 0.4 - 0.4.2, 0.3 - 0.3.1, 0.2 - 0.2.2, 0.1 - 0.1.1


External links
http://sourceforge.net/p/roundcubemail/news/2013/03/security-updates-086-and-073/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.


Latest bulletins with this vulnerability