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

What LogPulse has for it

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).

  1. On the MajorDoMo server run git log -1 in the installation folder, or check the version in the control panel.
  2. Update to the current master of sergejey/majordomo (git pull) so that commits 0662e5e and 3ec3ffb are included.
  3. Until the update is live, block modules/thumb/thumb.php at the web server for addresses outside the home or admin network.
  4. Keep the MajorDoMo web interface off the internet; use a VPN for remote access.
  5. 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.

Start free with LogPulse