🛡️ CVE-2022-31014
🟡 CVSS 5.4 — Medium ⚠️ Exploit Public CWE-74 NVD
5.4
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity MEDIUM
CVSS Score 5.4
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CWE CWE-74
Public Exploit ⚠️ Yes
Source NVD
Published 2022-07-05
Updated 2026-06-08
Modified 2024-11-21

Affected Packages

Software From version Fixed in
nextcloud-server

References

Issue Tracking, Patch, Third Party Advisory https://github.com/nextcloud/server/pull/32428
Exploit, Issue Tracking, Patch, Third Party Advisory https://hackerone.com/reports/1516377
Issue Tracking, Patch, Third Party Advisory https://github.com/nextcloud/server/pull/32428
Exploit, Issue Tracking, Patch, Third Party Advisory https://hackerone.com/reports/1516377

Vulnerability Monitoring

Stay informed about vulnerabilities in your stack

BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.