Description (CNA)
Modoboa is a mail hosting and management platform. Prior to version 2.7.1, `exec_cmd()` in `modoboa/lib/sysutils.py` always runs subprocess calls with `shell=True`. Since domain names flow directly into shell command strings without any sanitization, a Reseller or SuperAdmin can include shell metacharacters in a domain name to run arbitrary OS commands on the server. Version 2.7.1 patches the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| modoboa / modoboa | affected < 2.7.1 |
CWE
CWE-78
References
- https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m
- https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa
- https://github.com/modoboa/modoboa/releases/tag/2.7.1
ADP enrichment
No English description supplied.