CVE-2022-31014
Summary
| CVE | CVE-2022-31014 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-05 18:15:00 UTC |
| Updated | 2023-06-29 14:24:00 UTC |
| Description | Nextcloud server is an open source personal cloud server. Affected versions were found to be vulnerable to SMTP command injection. The impact varies based on which commands are supported by the backend SMTP server. However, the main risk here is that the attacker can then hijack an already-authenticated SMTP session and run arbitrary SMTP commands as the email user, such as sending emails to other users, changing the FROM user, and so on. As before, this depends on the configuration of the server itself, but newlines should be sanitized to mitigate such arbitrary SMTP command injection. It is recommended that the Nextcloud Server is upgraded to 22.2.8 , 23.0.5 or 24.0.1. There are no known workarounds for this issue. |
Risk And Classification
Problem Types: CWE-74
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Nextcloud | Nextcloud Server | All | All | All | All |
| Application | Nextcloud | Nextcloud Server | All | All | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | - | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | beta1 | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | beta2 | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | beta3 | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | rc1 | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | rc2 | All | All |
| Application | Nextcloud | Nextcloud Server | 24.0.0 | rc3 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| SMTP Command Injection in iCalendar Attachments to emails via newlines · Advisory · nextcloud/security-advisories · GitHub | CONFIRM | github.com | |
| Add Email validation by miaulalala · Pull Request #32428 · nextcloud/server · GitHub | MISC | github.com | |
| HackerOne | MISC | hackerone.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.