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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- AnchorCMS < 0.12.3a - Information Disclosure EDB-47459 · webapps · Oct 3, 2019
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Anchor CMS 0.12.3 - Error Log Exposure http/cves/2018/CVE-2018-7251.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | anchorcms/anchor-cms | < 0.12.7 | 0.12.7 | GHSA-hxcw-pqqc-rv85 |
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