CVE-2017-7692
8.8 · HIGHOverview
CVE-2017-7692 is a high-severity vulnerability affecting squirrelmail squirrelmail. It was published on April 20, 2017 and has a CVSS 3.0 base score of 8.8 (HIGH).
This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
Technical Description
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 s
Remediation
Check the references section for vendor advisories and patches from squirrelmail. Update squirrelmail to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|
References
Frequently Asked Questions
What is CVE-2017-7692?
CVE-2017-7692 is a high-severity vulnerability affecting squirrelmail squirrelmail. It was published on April 20, 2017 and has a CVSS 3.0 base score of 8.8 (HIGH).
How severe is CVE-2017-7692?
This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2017-7692?
Check the references section for vendor advisories and patches from squirrelmail. Update squirrelmail to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2017-7692?
CyberStrike's AI-powered security agents can automatically detect CVE-2017-7692 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2017
View all →An issue was discovered in St. Jude Medical Merlin@home, versions prior to Version 8.2.2 (RF models:
Unrestricted file upload vulnerability in the fileUnzip->unzip method in Dotclear before 2.10.3 allo
The Parental Control panel in Genexis devices with DRGOS before 1.14.1 allows remote authenticated u
An issue was discovered in EMC ScaleIO versions before 2.0.1.1. A low-privileged local attacker may
eClinicalWorks Population Health (CCMR) suffers from an SQL injection vulnerability in portalUserSer
eClinicalWorks Population Health (CCMR) suffers from a cross-site request forgery (CSRF) vulnerabili
Microsoft Edge allows remote attackers to bypass the Same Origin Policy via vectors involving the ab
Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerabili
Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerabili
Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability w
Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerabili
Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerabili