← Vulnerability feed

Vulnerability record · CVE-2018-7251 · published 19 February 2018

CVE-2018-7251: Anchor CMS error log exposes MySQL credentials

Anchorcms · Anchor

Anchor 0.12.3 exposes its error log at an errors.log URI, and that log can contain MySQL credentials when a MySQL error such as "Too many connections" occurs. Because the log is reachable without authentication, any visitor can read database secrets and pivot into the backend database.

9.8 CVSS 3.0 Critical EPSS 72% · top 0.6% CWE-200 · Information exposure
9.8CVSS 3.0 base score, v2 5.0
72%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated network access to exposed database credentials with High impact across confidentiality, integrity and availability, plus a very high EPSS score, warrants critical priority.

What it is

Anchor 0.12.3 exposes its error log at an errors.log URI, and that log can contain MySQL credentials when a MySQL error such as "Too many connections" occurs. Because the log is reachable without authentication, any visitor can read database secrets and pivot into the backend database.

Impact

An attacker gains the site's MySQL credentials, enabling direct access to the database for data theft, modification, or destruction. The CVSS 3.0 vector rates confidentiality, integrity and availability impact all High.

Attack surface

Reached over the network by requesting the errors.log URI; no authentication and no user interaction are required per the CVSS vector AV:N/AC:L/PR:N/UI:N. The exposure only yields credentials after a MySQL error has been logged.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high (0.7183 probability, 0.99395 percentile), and references include third-party advisories and an issue tracker entry, but no reference is tagged as an exploit.

What to do

  • Upgrade Anchor to 0.12.7 or later, which the release reference indicates addresses this issue.
  • Block or deny web access to errors.log and other log files at the web server or reverse proxy.
  • Move logs outside the web root and restrict file permissions to the application user.
  • Rotate the MySQL credentials that may have been written to the exposed log.
  • Avoid logging database credentials in error output; sanitize error messages.

Detection

  • Search web server access logs for requests to errors.log or similar log paths.
  • Monitor for direct MySQL connections from unexpected hosts using the application's database account.
  • Check for the presence of errors.log inside the web root and review its contents for credential strings.
  • Alert on MySQL error conditions such as "Too many connections" that precede log exposure.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-7251 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

4.8CVE-2020-12071Anchorcms anchor cross-site scripting vulnerabilityAnchor 0.12.7 allows admins to cause XSS via crafted post content.EPSS 0.56%5.9CVE-2025-68686FortiOS symbolic link patch bypass exposes sensitive informationFortiOS contains an information exposure flaw (CWE-200) that lets a remote unauthenticated attacker bypass the patch for the symbolic link persistenc…KEVEPSS 30%analysed7.5CVE-2026-20133Cisco Catalyst SD-WAN Manager insufficient file system restrictions expose dataCisco Catalyst SD-WAN Software has insufficient file system restrictions that let an attacker read sensitive files on the underlying operating system…KEVEPSS 32%analysed7.5CVE-2025-31125Vite dev server improper access control exposes arbitrary filesVite's dev server fails to restrict file access when a request uses the ?inline&import or ?raw?import query patterns, allowing content of files that …KEVEPSS 65%analysed5.5CVE-2026-20805Windows Desktop Window Manager information disclosureDesktop Windows Manager (DWM) in Microsoft Windows exposes sensitive information to an unauthorized actor, allowing a local attacker with existing ac…KEVEPSS 7.2%analysed7.5CVE-2021-41277Metabase custom GeoJSON map feature allows local file inclusionMetabase does not validate URLs supplied through the custom GeoJSON map setting (admin->settings->maps->custom maps->add a map) before loading them. …KEVEPSS 97%analysed8.6CVE-2024-24919Check Point Security Gateway information disclosure via remote access VPNCheck Point Security Gateways with Remote Access VPN or Mobile Access Software Blades enabled expose information to an unauthenticated attacker reach…KEVEPSS 100%analysed5.5CVE-2023-21237Android notification UI flaw hides foreground service alertsIn applyRemoteView of NotificationContentInflater.java, Android 13 mishandles notification UI so a foreground service notification can be hidden. The…KEVEPSS 0.27%analysed

Source: NIST National Vulnerability Database (record CVE-2018-7251), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.