id: CVE-2018-7251 info: name: AnchorCMS Error Log Exposure author: pdteam severity: critical tags: cve,cve2018,anchorcms,logs classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.80 cve-id: CVE-2018-7251 cwe-id: CWE-200 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." reference: - 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 requests: - method: GET path: - '{{BaseURL}}/anchor/errors.log' matchers: - type: word words: - '"date":' - '"message":' - '"trace":[' condition: and