.. / CVE-2018-7251

Exploit for Anchor CMS 0.12.3 - Error Log Exposure (CVE-2018-7251)

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.

Nuclei Template

View the template here CVE-2018-7251.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2018/CVE-2018-7251.yaml
Copy

References:

https://github.com/anchorcms/anchor-cms/issues/1247
https://github.com/anchorcms/anchor-cms/releases/tag/0.12.7
https://nvd.nist.gov/vuln/detail/CVE-2018-7251
https://twitter.com/finnwea/status/965279233030393856
http://packetstormsecurity.com/files/154723/Anchor-CMS-0.12.3a-Information-Disclosure.html