CVE-2023-30258 in magnussolution magnusbilling
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Command Injection vulnerability in MagnusSolution magnusbilling 6.x and 7.x allows remote attackers to run arbitrary commands via unauthenticated HTTP request.
Affected software: magnussolution magnusbilling
Scores
- CVSS: 9.8 (critical)
- EPSS: 94.25% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2023-06-23
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Apply the MagnusBilling icepay.php fix (CVE-2023-30258)
Patch or upgrade. MagnusBilling 6.x and 7.x up to 7.3.0 pass the democ parameter of icepay.php to a shell without login. The vendor commit removes the command.
Applies to: MagnusBilling 6.0.0 to 7.3.0.
- Check the MagnusBilling version.
- Update MagnusBilling to a release that contains the vendor fix commit ccff9f6, or apply that commit.
- Until updated, block /mbilling/lib/icepay/icepay.php on the web server if Icepay is not used.
- Look for unknown files and cron jobs on the server, because this bug was exploited widely.
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.