Read the docs
TI-2017-05328 Aliases CVE-2017-7692GHSA-w6jv-pvcq-chp4

SquirrelMail 1.4.22 (and other versions before 20170427_0200-SVN) allows…

Priority MEDIUM 62CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Will not fix Red Hat: no fix planned

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.

Summary

SquirrelMail 1.4.22 (and other versions before 20170427_0200-SVN) allows post-authentication remote code execution via a sendmail.cf file that is mishandled in a popen call. It's possible to exploit this vulnerability to execute arbitrary shell commands on the remote server. The problem is in the Deliver_SendMail.class.php with the initStream function that uses escapeshellcmd() to sanitize the sendmail command before executing it. The use of escapeshellcmd() is not correct in this case since it doesn't escape whitespaces, allowing the injection of arbitrary command parameters. The problem is in -f$envelopefrom within the sendmail command line. Hence, if the target server uses sendmail and SquirrelMail is configured to use it as a command-line program, it's possible to trick sendmail into using an attacker-provided configuration file that triggers the execution of an arbitrary command. For exploitation, the attacker must upload a sendmail.cf file as an email attachment, and inject the sendmail.cf filename with the -C option within the "Options > Personal Informations > Email Address" setting.

Why it matters now

EPSS 0.32156 98th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD and the CNA
Fix Will not fix Red Hat: no fix planned

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:squirrelmail:squirrelmail:1.4.22:*:*:*:*:*:*:*1.4.22VulnerableSquirrelMail
  • cpe:2.3:a:squirrelmail:squirrelmail:1.4.22:*:*:*:*:*:*:* Versions 1.4.22 Vulnerable ·SquirrelMail

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-7692
  2. 2026-10-03 Alias added: GHSA-w6jv-pvcq-chp4

References

  • TI-2006-02750 PHP remote file inclusion vulnerability in functions/plugin.php in SquirrelMail 1.4.6 and… CVSS 2.0HIGH 7.5
  • TI-2002-00501 SquirrelMail 1.2.5 and earlier allows authenticated SquirrelMail users to execute… CVSS 2.0HIGH 10.0
  • TI-2002-01101 Cross-site scripting vulnerabilities in SquirrelMail 1.2.7 and earlier allows remote… CVSS 2.0HIGH 7.5
  • TI-2004-00468 Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail 1.4.2 allow remote… CVSS 2.0MEDIUM 6.8
  • TI-2004-00470 SQL injection vulnerability in SquirrelMail before 1.4.3 RC1 allows remote attackers to… CVSS 2.0HIGH 10.0
  • TI-2020-11743 compose.php in SquirrelMail 1.4.22 calls unserialize for the $mailtodata value, which… CVSS 3.1CRITICAL 9.8
See all 63 →

Sources