oss-sec mailing list archives

SquirrelMail <= 1.4.23 Remote Code Execution (CVE-2017-7692)


From: Dawid Golunski <dawid () legalhackers com>
Date: Mon, 24 Apr 2017 18:14:59 -0300

SquirrelMail <= 1.4.23 Remote Code Execution (CVE-2017-7692)

Desc.:
SquirrelMail is affected by a critical Remote Code Execution vulnerability
which stems from insufficient escaping of user-supplied data when
SquirrelMail has been configured with Sendmail as the main transport.
An authenticated attacker may be able to exploit the vulnerability
to execute arbitrary commands on the target and compromise the remote
system.

Discovered by:
Dawid Golunski (https://legalhackers.com : https://ExploitBox.io)
, as well as Filippo Cavallarin (see attached advisory for details)

Official solution:
Vendor seems to have released a new version of 1.4.23 on
squirrelmail-20170424_0200-SVN.stable.tar.gz
which still seems to be vulnerable hence a new subject/thread.

The exploit from my advisory was also confirmed to work on Ubuntu
package: '1.4.23~svn20120406-2ubuntu1.16.04.1'.

Hence the updated version in the subject/advisory title.

Full advisory URL:

https://legalhackers.com/advisories/SquirrelMail-Exploit-Remote-Code-Exec-CVE-2017-7692-Vuln.html



-- 
Regards,
Dawid Golunski
https://legalhackers.com
https://ExploitBox.io
t: @dawid_golunski

Attachment: SquirrelMail_RCE.txt
Description:


Current thread: