#VU28980 Improper Neutralization of Argument Delimiters in a Command in Roundcube


Published: 2020-06-11 | Updated: 2023-06-20

Vulnerability identifier: #VU28980

Vulnerability risk: High

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

CVE-ID: CVE-2020-12641

CWE-ID: CWE-88

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Roundcube
Web applications / Webmail solutions

Vendor: Roundcube

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in rcube_image.php script when processing shell metacharacters in a configuration setting for im_convert_path or im_identify_path. A remote user with ability to change Roundcube Webmail configuration can inject and execute arbitrary OS commands.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Roundcube: 1.4.0 - 1.4.3, 1.3.0 - 1.3.10, 1.2.0 - 1.2.9


External links
http://github.com/roundcube/roundcubemail/commit/fcfb099477f353373c34c8a65c9035b06b364db3
http://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4
http://github.com/roundcube/roundcubemail/releases/tag/1.4.4
http://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10
http://www.recordedfuture.com/bluedelta-exploits-ukrainian-government-roundcube-mail-servers


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.


Latest bulletins with this vulnerability