CVE-2023-35169 — PHP-IMAP is a wrapper for common IMAP communication without the need to have the
PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. Prior to version 5.3.0, an unsanitized attachment filename allows any unauthenticated user to leverage a directory traversal vulnerability, which results in a rem
Published
2023-06-23T20:37:28.324Z
Last modified
2024-11-27T20:22:12.801Z
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
01What is this vulnerability?
PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. Prior to version 5.3.0, an unsanitized attachment filename allows any unauthenticated user to leverage a directory traversal vulnerability, which results in a remote code execution vulnerability. Every application that stores attachments with `Attachment::save()` without providing…
02Affected products
| Vendor | Product | Versions |
|---|
| Webklex | php | imap — < 5.3.0 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-06-23T20:37:28.324Z
- Last modified: 2024-11-27T20:22:12.801Z
09References
- github.com — https://github.com/Webklex/php-imap/security/advisories/GHSA-47p7-xfcc-4pv9
- github.com — https://github.com/Webklex/php-imap/pull/414
- github.com — https://github.com/Webklex/php-imap/blob/5.2.0/src/Attachment.php#L251-L255
- github.com — https://github.com/Webklex/php-imap/blob/5.2.0/src/Attachment.php#L252
- github.com — https://github.com/Webklex/php-imap/releases/tag/5.3.0
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →