OS Command Injection Affecting php-embedded package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
94.08% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-PHPEMBEDDED-1996309
  • published26 Jul 2021
  • disclosed19 Nov 2018

Introduced: 19 Nov 2018

CVE-2018-19518  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 php-embedded.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-embedded package and not the php-embedded package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Scores

version 3.1