CVE-2018-7251: Information Disclosure in Anchor 0.12.3 error log
- Vendor
- Anchorcms
In Anchor CMS version 0.12.3, the config/error.php script exposes the error log at a predictable URI (errors.log). If a MySQL error occurs, such as 'Too many connections', the log may contain sensitive information including MySQL credentials. This log is accessible without authentication, leading to potential information disclosure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated attacker can access the errors.log file and obtain sensitive information, including MySQL database credentials, which can lead to further compromise of the application and its data.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, configure the web server to deny public access to the errors.log file (e.g., via .htaccess or server configuration). Regularly audit log files for sensitive information and remove or redact as necessary.
Remediation
Patch, then assume compromise.
Restrict access to the errors.log file via web server configuration, and ensure that sensitive information is not logged. Upgrade to a version of Anchor CMS where this issue is resolved or apply a patch that prevents exposure of sensitive data in logs and/or restricts log access.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-7251 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-7251 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-7251?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2018-7251. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2018-7251?
- Restrict access to the errors.log file via web server configuration, and ensure that sensitive information is not logged. Upgrade to a version of Anchor CMS where this issue is resolved or apply a patch that prevents exposure of sensitive data in logs and/or restricts log access.
- What products are affected by CVE-2018-7251?
- Anchorcms Anchor.
- How severe is CVE-2018-7251?
- CVE-2018-7251 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 71.8% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.