![]() ![]() 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. Webmail Client iPage WebTo compose a new email in SquirrelMail webmail: Log in to your Domains dashboard. The Mailbox view is customizable via Settings -> Preferences -> Mailbox View. SquirrelMail - Login WebSquirrelMail - Login. No dashboard summarizes your emails, contacts, to-do lists, etc. 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. The Roundcube interface in light mode: The Roundcube interface in dark mode: Unlike Horde, Roundcube takes you directly to your email inbox when you log in. Instructions to setup your e-mail software can be found here. Login using your email address and password. ![]() If you have entered your password on this page, contact support immediately. The problem is in -f$envelopefrom within the sendmail command line. The first time you sign into SquirrelMail you will be asked to enter some additional information. This is a phishing attempt, and the link takes you to a FAKE Horde Webmail login page. The use of escapeshellcmd() is not correct in this case since it doesn't escape whitespaces, allowing the injection of arbitrary command parameters. /directadmin set oneclickwebmaillogin 1 service directadmin restart cd custombuild. In fact, it is a good idea just to edit the necessary options, until you have squirrelmail working, because it is easier to see. You can use the numbers and letters to browse through the configuration menu. To run it, type: sudo squirrelmail-configure. The problem is in the Deliver_ with the initStream function that uses escapeshellcmd() to sanitize the sendmail command before executing it. Squirrelmail has a very simple configuration menu. It's possible to exploit this vulnerability to execute arbitrary shell commands on the remote server. 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. ![]()
0 Comments
Leave a Reply. |