CVE-2018-7251
CriticalPublic exploitAnchor CMS Logs Credentials
Published May 13, 2022 · Updated Jul 8, 2026 · Also known as GHSA-hxcw-pqqc-rv85
Key Facts
Patch immediately- CVE-2018-7251 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Anchor (Anchorcms), anchorcms/anchor-cms (composer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 72% probability of exploitation in the next 30 days.
- Fixed versions are available, including anchorcms/anchor-cms 0.12.7.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
72%
Higher than 99.4% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2018-7251 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| AnchorAnchorcms | 0.12.3 | n/a |
| anchorcms/anchor-cmscomposer | See advisory | 0.12.7 |
Patched Releases
anchorcms/anchor-cms
0.12.7
Timeline
Publicly disclosed
May 13, 2022
Last updated
Jul 8, 2026
Weakness Type
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- advisoryGHSA advisory
- advisoryhttps://github.com/anchorcms/anchor-cms/issues/1247
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-7251
- advisoryhttp://www.andmp.com/2018/02/advisory-assigned-CVE-2018-7251-in-anchorcms.html
- exploitExploitDB-47459
FAQ
Common Questions.
An issue was discovered in config/error.php in Anchor 0.12.3.
Affected: Anchor (Anchorcms) versions 0.12.3; anchorcms/anchor-cms (composer). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including anchorcms/anchor-cms 0.12.7.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2018-7251 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo