gsd-2018-19518
Vulnerability from gsd
Modified
2023-12-13 01:22
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2018-19518", "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.", "id": "GSD-2018-19518", "references": [ "https://www.suse.com/security/cve/CVE-2018-19518.html", "https://www.debian.org/security/2018/dsa-4353", "https://ubuntu.com/security/CVE-2018-19518", "https://advisories.mageia.org/CVE-2018-19518.html", "https://alas.aws.amazon.com/cve/html/CVE-2018-19518.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2018-19518" ], "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.", "id": "GSD-2018-19518", "modified": "2023-12-13T01:22:38.766529Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2018-19518", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugs.php.net/bug.php?id=77160", "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=77160" }, { "name": "45914", "refsource": "EXPLOIT-DB", "url": "https://www.exploit-db.com/exploits/45914/" }, { "name": "[debian-lts-announce] 20190301 [SECURITY] [DLA 1700-1] uw-imap security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html" }, { "name": "https://security.netapp.com/advisory/ntap-20181221-0004/", "refsource": "CONFIRM", "url": "https://security.netapp.com/advisory/ntap-20181221-0004/" }, { "name": "1042157", "refsource": "SECTRACK", "url": "http://www.securitytracker.com/id/1042157" }, { "name": "DSA-4353", "refsource": "DEBIAN", "url": "https://www.debian.org/security/2018/dsa-4353" }, { "name": "https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php", "refsource": "MISC", "url": "https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php" }, { "name": "https://bugs.debian.org/913835", "refsource": "MISC", "url": "https://bugs.debian.org/913835" }, { "name": "https://www.openwall.com/lists/oss-security/2018/11/22/3", "refsource": "MISC", "url": "https://www.openwall.com/lists/oss-security/2018/11/22/3" }, { "name": "https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdffe45adddb", "refsource": "CONFIRM", "url": "https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdffe45adddb" }, { "name": "106018", "refsource": "BID", "url": "http://www.securityfocus.com/bid/106018" }, { "name": "https://bugs.php.net/bug.php?id=76428", "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=76428" }, { "name": "https://bugs.debian.org/913775", "refsource": "MISC", "url": "https://bugs.debian.org/913775" }, { "name": "https://bugs.debian.org/913836", "refsource": "MISC", "url": "https://bugs.debian.org/913836" }, { "name": "https://antichat.com/threads/463395/#post-4254681", "refsource": "MISC", "url": "https://antichat.com/threads/463395/#post-4254681" }, { "name": "https://bugs.php.net/bug.php?id=77153", "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=77153" }, { "name": "[debian-lts-announce] 20181217 [SECURITY] [DLA 1608-1] php5 security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html" }, { "name": "USN-4160-1", "refsource": "UBUNTU", "url": "https://usn.ubuntu.com/4160-1/" }, { "name": "GLSA-202003-57", "refsource": "GENTOO", "url": "https://security.gentoo.org/glsa/202003-57" }, { "name": "[debian-lts-announce] 20211229 [SECURITY] [DLA 2866-1] uw-imap security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html" } ] } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "7.2.12", "versionStartIncluding": "7.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "7.0.32", "versionStartIncluding": "7.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "7.1.24", "versionStartIncluding": "7.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "5.6.38", "versionStartIncluding": "5.6.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:uw-imap_project:uw-imap:2007f:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2018-19518" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-88" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.openwall.com/lists/oss-security/2018/11/22/3", "refsource": "MISC", "tags": [ "Exploit", "Mailing List", "Third Party Advisory" ], "url": "https://www.openwall.com/lists/oss-security/2018/11/22/3" }, { "name": "https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php", "refsource": "MISC", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php" }, { "name": "https://bugs.php.net/bug.php?id=77160", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://bugs.php.net/bug.php?id=77160" }, { "name": "https://bugs.php.net/bug.php?id=77153", "refsource": "MISC", "tags": [ "Exploit", "Mailing List", "Vendor Advisory" ], "url": "https://bugs.php.net/bug.php?id=77153" }, { "name": "https://bugs.php.net/bug.php?id=76428", "refsource": "MISC", "tags": [ "Exploit", "Mailing List", "Vendor Advisory" ], "url": "https://bugs.php.net/bug.php?id=76428" }, { "name": "https://bugs.debian.org/913836", "refsource": "MISC", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://bugs.debian.org/913836" }, { "name": "https://bugs.debian.org/913835", "refsource": "MISC", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://bugs.debian.org/913835" }, { "name": "https://bugs.debian.org/913775", "refsource": "MISC", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://bugs.debian.org/913775" }, { "name": "https://antichat.com/threads/463395/#post-4254681", "refsource": "MISC", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://antichat.com/threads/463395/#post-4254681" }, { "name": "1042157", "refsource": "SECTRACK", "tags": [ "Broken Link" ], "url": "http://www.securitytracker.com/id/1042157" }, { "name": "106018", "refsource": "BID", "tags": [ "Broken Link" ], "url": "http://www.securityfocus.com/bid/106018" }, { "name": "https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdffe45adddb", "refsource": "CONFIRM", "tags": [ "Mailing List", "Patch", "Third Party Advisory" ], "url": "https://git.php.net/?p=php-src.git;a=commit;h=e5bfea64c81ae34816479bb05d17cdffe45adddb" }, { "name": "45914", "refsource": "EXPLOIT-DB", "tags": [ "Exploit", "Third Party Advisory", "VDB Entry" ], "url": "https://www.exploit-db.com/exploits/45914/" }, { "name": "DSA-4353", "refsource": "DEBIAN", "tags": [ "Third Party Advisory" ], "url": "https://www.debian.org/security/2018/dsa-4353" }, { "name": "[debian-lts-announce] 20181217 [SECURITY] [DLA 1608-1] php5 security update", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html" }, { "name": "https://security.netapp.com/advisory/ntap-20181221-0004/", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://security.netapp.com/advisory/ntap-20181221-0004/" }, { "name": "[debian-lts-announce] 20190301 [SECURITY] [DLA 1700-1] uw-imap security update", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html" }, { "name": "USN-4160-1", "refsource": "UBUNTU", "tags": [ "Third Party Advisory" ], "url": "https://usn.ubuntu.com/4160-1/" }, { "name": "GLSA-202003-57", "refsource": "GENTOO", "tags": [ "Third Party Advisory" ], "url": "https://security.gentoo.org/glsa/202003-57" }, { "name": "[debian-lts-announce] 20211229 [SECURITY] [DLA 2866-1] uw-imap security update", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "SINGLE", "availabilityImpact": "COMPLETE", "baseScore": 8.5, "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "vectorString": "AV:N/AC:M/Au:S/C:C/I:C/A:C", "version": "2.0" }, "exploitabilityScore": 6.8, "impactScore": 10.0, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 1.6, "impactScore": 5.9 } }, "lastModifiedDate": "2022-04-18T18:12Z", "publishedDate": "2018-11-25T10:29Z" } } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.