CVE-2018-7251 Anchor CMS Logs Credentials

Critical 9.8 Published Updated

Attackers can access exposed error logs containing MySQL credentials, leading to potential database compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7251?

CVE-2018-7251 is a critical vulnerability in n/a, published on 19 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-200

Which versions are affected by CVE-2018-7251?

2 open source packages ship an affected version, including anchorcms/anchor-cms. It affects 1 product.

PackageAffectedFixed in
anchorcms/anchor-cms PackagistAll versions0.12.7
anchorcms/anchor-cms PackagistAll versions0.12.7

Products include Anchorcms Anchor.

How do I fix CVE-2018-7251?

Upgrade anchorcms/anchor-cms to 0.12.7 or later.

Is CVE-2018-7251 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-7251 exists.

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-hxcw-pqqc-rv85.

Is CVE-2018-7251 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free