Skip to main content
← All vulnerabilities
CVE-2020-12641

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration set

Roundcube Webmail before 1.4.4 is affected when the im_convert_path or im_identify_path setting holds crafted values. No vendor rating is given, and the fix is version 1.4.4.

Published
Last modified
published
Listed in CISA KEV
Actively exploited
None on Exploit-DB, Metasploit or GitHub

Summary

Roundcube Webmail, an open-source web-based email client, is affected by this vulnerability. An attacker who can get shell metacharacters into its image-processing path settings could run arbitrary commands on the server hosting the email software.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 7

GitHub · roundcube/roundcubemail

roundcube.net

GitHub · DrunkenShells/Disclosures

security.gentoo.org

lists.opensuse.org

FAQ

Questions about CVE-2020-12641

What does this mean?

The im_convert_path and im_identify_path settings can contain shell metacharacters, which can lead to remote code execution on the server.Source: github.com

Am I affected, and how do I check?

Roundcube Webmail versions before 1.4.4 are affected when im_convert_path or im_identify_path contains crafted values. To check, look at the installed version and at the values set for these two options in the configuration.Source: github.com

What should I do about it?

Upgrade Roundcube Webmail to version 1.4.4 or later.Source: github.com

Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-06-22, which means it has evidence of attacks. No public exploit code is tracked.Source: cisa.gov, cve.now feed data

What if there's no patch?

The checked facts list no workaround. Limiting the risk means reviewing the im_convert_path and im_identify_path settings and making sure they contain only trusted values.Source: github.com