CVE-2023-50917 in mjdm majordomo
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
MajorDoMo (aka Major Domestic Module) before 0662e5e allows command execution via thumb.php shell metacharacters. NOTE: this is unrelated to the Majordomo mailing-list manager.
Affected software: mjdm majordomo
Scores
- CVSS: 9.8 (critical)
- EPSS: 37.13% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2023-12-15
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update MajorDoMo to a release with commit 0662e5e (thumb.php command injection)
Patch or upgrade. MajorDoMo before commit 0662e5e passes thumb.php parameters to a shell, so anyone who reaches the web interface runs commands. The fix escapes them.
Applies to: MajorDoMo (Major Domestic Module) before commit 0662e5e (December 2023).
- On the MajorDoMo server run git log -1 in the installation folder, or check the version in the control panel.
- Update to the current master of sergejey/majordomo (git pull) so that commits 0662e5e and 3ec3ffb are included.
- Until the update is live, block modules/thumb/thumb.php at the web server for addresses outside the home or admin network.
- Keep the MajorDoMo web interface off the internet; use a VPN for remote access.
- Rerun the vulnerability scan and confirm CVE-2023-50917 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.