{"cve_id":"CVE-2018-19518","published":"2018-11-25T10:29:00.250000+00:00","last_modified":"2026-06-17T01:49:25.907000+00:00","vuln_status":"Modified","description":"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_version":"3.1","cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","base_score":7.5,"base_severity":"HIGH","attack_vector":"NETWORK","privileges_req":"LOW","user_interaction":"NONE","scope":"UNCHANGED","impact_c":"HIGH","impact_i":"HIGH","impact_a":"HIGH","cwe_ids":["CWE-88"],"in_kev":false,"kev_date_added":null,"kev_ransomware":false,"epss_score":0.96107,"epss_percentile":0.99877,"cap_rule_version":"0.1.1","stage":"EXECUTION","req_access":"USER","req_vector":"NETWORK","req_user_interaction":false,"grant_access":"USER","caps":["CODE_EXEC"],"terminal":false,"cap_confidence":"high","ingested_at":"2026-09-18T08:53:24.036797+00:00","first_seen":"2018-11-25T10:29:00.250000+00:00","kev_first_seen":null,"novelty_score":0.0,"novelty_reasons":[],"novelty_at":null,"vendors":["canonical","debian","php","uw-imap_project"],"products":["debian_linux","php","ubuntu_linux","uw-imap"],"affected":[{"vendor":"canonical","product":"ubuntu_linux","ranges":["16.04","19.04","18.04"]},{"vendor":"debian","product":"debian_linux","ranges":["9.0","8.0"]},{"vendor":"php","product":"php","ranges":["≥ 5.6.0 and ≤ 5.6.38","≥ 7.2.0 and ≤ 7.2.12","≥ 7.1.0 and ≤ 7.1.24","≥ 7.0.0 and ≤ 7.0.32"]},{"vendor":"uw-imap_project","product":"uw-imap","ranges":["2007f"]}]}