Sign inSign up

vulnerables/web-roundcube-1.2.2-rce

By vulnerables

•Updated almost 9 years ago

Roundcube vulnerable Image

Image
2

5.2K

vulnerables/web-roundcube-1.2.2-rce repository overview

⁠Roundcube 1.0.0 - 1.2.2 - RCE

Docker Pulls

Roundcube is a widely distributed open-source webmail software used by many organizations and companies around the globe. The mirror on SourceForge, for example, counts more than 260,000 downloads in the last 12 months which is only a small fraction of the actual users. Once Roundcube is installed on a server, it provides a web interface for authenticated users to send and receive emails with their web browser.

In Roundcube 1.2.2, and earlier, user-controlled input flows unsanitized into the fifth argument of a call to PHP's built-in function mail() which is documented as security critical. The problem is that the invocation of the mail() function will cause PHP to execute the sendmail program. The fifth argument allows to pass arguments to this execution which allows a configuration of sendmail. Since sendmail offers the -X option to log all mail traffic in a file, an attacker can abuse this option and spawn a malicious PHP file in the webroot directory of the attacked server. The following code lines trigger the vulnerability.

⁠Vulnerable Environment
⁠Exploit
⁠Technical information
⁠Credits

This flaw was found by Robin Peraglie

⁠Disclaimer

This or previous program is for Educational purpose ONLY. Do not use it without permission. The usual disclaimer applies, especially the fact that me (opsxcq) is not liable for any damages caused by direct or indirect use of the information or functionality provided by these programs. The author or any Internet provider bears NO responsibility for content or misuse of these programs or any derivatives thereof. By using these programs you accept the fact that any damage (dataloss, system crash, system compromise, etc.) caused by the use of these programs is not opsxcq's responsibility.

Tag summary

Content type

Image

Digest

Size

99.5 MB

Last updated

almost 9 years ago

docker pull vulnerables/web-roundcube-1.2.2-rce