CVE-2017-7692: Squirrelmail vulnerability
Vendor fix available · Affected: Squirrelmail · Exploitation: likely to be exploited (10% or more)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 98% of scored CVEs
Not scored yet. The CVE record carries no CVSS score.
DescriptionCVE.org
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.
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Likely to be exploited (10% or more). EPSS gives it a 10% or higher chance of exploitation in the next 30 days.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Squirrelmail
- Published
- April 2017
CoverageNo articles yet
No CyberSIXT article names CVE-2017-7692 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-20cwe.mitre.org
- Vendor advisorysecurity.gentoo.org
- Vendor advisorydebian.org
- legalhackers.com/advisories/SquirrelMail-Exploit-Remote-Code-Exelegalhackers.com
- securityfocus.com/bid/98067securityfocus.com
- openwall.com/lists/oss-security/2017/04/19/6openwall.com
- Exploitexploit-db.com
- securitytracker.com/id/1038312securitytracker.com
- openwall.com/lists/oss-security/2017/04/27/1openwall.com