CVE-2018-7251: Anchor CMS Logs Credentials

anchorcms/anchor-cms Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Critical
9.8

CVE-2018-7251: Anchor CMS Logs Credentials. Affects anchorcms/anchor-cms versions < 0.12.7. Fixed in 0.12.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Anchor CMS is an open-source content management system designed for simplicity and ease of use. It allows users to create and manage websites with minimal technical knowledge. The vulnerability in question affects Anchor CMS version 0.12.3. This version exposes the error log at an errors.log URI, which may contain MySQL credentials if a MySQL error, such as "Too many connections," has occurred.

Vulnerability Detail

The vulnerability arises from the exposure of the error log file, which contains sensitive information like MySQL credentials. If an attacker gains access to this log file, they can extract the credentials and potentially gain unauthorized access to the MySQL database. This could lead to data breaches, unauthorized modifications, or even complete control over the affected system. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

How To Fix

Minimum fixed version

0.12.7

This is the first release that contains the fix.

composer require anchorcms/anchor-cms:0.12.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually remove or restrict access to the errors.log file. By doing so, the exposure of MySQL credentials can be mitigated. However, this is not a permanent solution and should only be considered until the system can be upgraded to a fixed version.

Conclusion

In conclusion, the vulnerability in Anchor CMS version 0.12.3 exposes MySQL credentials through the error log file. To mitigate this issue, users should upgrade to version 0.12.7 or later. Alternatively, they can apply a temporary workaround by removing or restricting access to the errors.log file. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for anchorcms/anchor-cms →

Share this vulnerability

FAQ

Anchor CMS is an open-source content management system that allows users to create and manage websites with ease.

The vulnerability exposes MySQL credentials, which can lead to unauthorized access, data breaches, and potential control over the affected system.

To fix this vulnerability, it is recommended to upgrade to version 0.12.7 or later of Anchor CMS.

Yes, users can manually remove or restrict access to the errors.log file as a temporary workaround.

The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

Related vulnerabilities

Recent vulnerabilities recorded for anchorcms/anchor-cms.

How To Fix

Minimum fixed version

0.12.7

This is the first release that contains the fix.

composer require anchorcms/anchor-cms:0.12.7

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback