Advisory

UBUNTU-CVE-2018-19518

Also known as: CVE-2018-19518

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2018-11-25 10:29 UTC
Modified
2026-04-22 11:50 UTC

Affected packages and fixes

php-imap

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.4.6-0ubuntu5.1 (ecosystem)

Fixed versions

5.4.6-0ubuntu5.1

Fix

  • Fixed version 5.4.6-0ubuntu5.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php7.0

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.0.33-0ubuntu0.16.04.1 (ecosystem)

Fixed versions

7.0.33-0ubuntu0.16.04.1

Fix

  • Fixed version 7.0.33-0ubuntu0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

uw-imap

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 8:2007f~dfsg-4+deb8u1build0.16.04.1 (ecosystem)

Fixed versions

8:2007f~dfsg-4+deb8u1build0.16.04.1

Fix

  • Fixed version 8:2007f~dfsg-4+deb8u1build0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php7.2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.2.15-0ubuntu0.18.04.1 (ecosystem)

Fixed versions

7.2.15-0ubuntu0.18.04.1

Fix

  • Fixed version 7.2.15-0ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

uw-imap

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 8:2007f~dfsg-5ubuntu0.18.04.2 (ecosystem)

Fixed versions

8:2007f~dfsg-5ubuntu0.18.04.2

Fix

  • Fixed version 8:2007f~dfsg-5ubuntu0.18.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences