CVE-2018-7251 in anchorcms anchor

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

An issue was discovered in config/error.php in Anchor 0.12.3. The error log is exposed at an errors.log URI, and contains MySQL credentials if a MySQL error (such as "Too many connections") has occurred.

Affected software: anchorcms anchor

Scores

What LogPulse has for it

How to mitigate it

Upgrade Anchor CMS to 0.12.7 or later and remove errors.log

Patch or upgrade. Anchor CMS 0.12.7 no longer writes a web-readable errors.log, which could hold MySQL credentials (CVE-2018-7251).

Applies to: Anchor CMS 0.12.3 up to 0.12.6.

  1. Check the Anchor version in the admin footer.
  2. Back up the site and database.
  3. Upgrade to Anchor 0.12.7 or a later release.
  4. Delete any errors.log in the web root and deny *.log files in the web server configuration.
  5. Change the MySQL password if errors.log was readable.
  6. Rerun the vulnerability scan and confirm CVE-2018-7251 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