id: CVE-2018-7251 info: name: Anchor CMS 0.12.3 - Error Log Exposure author: pdteam severity: critical description: | Anchor CMS 0.12.3 is susceptible to an error log exposure vulnerability due to an issue in config/error.php. 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. remediation: | Upgrade to the latest version of Anchor CMS or apply the necessary patches to fix the error log exposure vulnerability. reference: - https://github.com/anchorcms/anchor-cms/issues/1247 - 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://nvd.nist.gov/vuln/detail/CVE-2018-7251 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.8 cve-id: CVE-2018-7251 cwe-id: CWE-200 epss-score: 0.06473 epss-percentile: 0.92972 cpe: cpe:2.3:a:anchorcms:anchor:0.12.3:*:*:*:*:*:*:* metadata: max-request: 1 vendor: anchorcms product: anchor tags: cve,cve2018,anchorcms,logs,error,packetstorm http: - method: GET path: - '{{BaseURL}}/anchor/errors.log' matchers: - type: word words: - '"date":' - '"message":' - '"trace":[' condition: and # digest: 480a0045304302203ab89d1f31bd7c6ae3fecaaf906d0b48921acab12d9771e1341ef117044b4f8c021f63f47b65cd0406c5c1654675979ce1a7f6488828691a9c892711cd3948dfd4:922c64590222798bb761d5b6d8e72950