Modoboa
Modoboa has an OS Command Injection
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
modoboa modoboa
- < 2.7.1
Fixed in 2.7.1
Mitigation
Upgrade modoboa to 2.7.1 or later.
References
- Vendor advisory github.com/modoboa/modoboa/security/advisories…
- Patch github.com/modoboa/modoboa/commit/27a7aa133d36…
- Release notes github.com/modoboa/modoboa/releases/tag/2.7.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.