CVE-2018-19518: PHP imap – Remote Command Execution

CVE-2018-19518: PHP imap - Remote Command Execution-渗透云记 - 专注于网络安全与技术分享
CVE-2018-19518: PHP imap – Remote Command Execution
此内容为付费阅读,请付费后查看
100积分
付费阅读

漏洞标题

CVE-2018-19518: Php imap – Remote Command Execution

漏洞描述

University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.

PoC代码

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享