CVE-2018-7251: Anchorcms/anchor cms Anchor CMS Logs Credentials Vulnerability
CRITICALCVE-2018-7251 is a CRITICAL (CVSS 9.8) anchor cms logs credentials vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Anchorcms/anchor cms libraries in the Packagist ecosystem. The issue involves anchor cms logs credentials. Remediation is available by upgrading affected packages to version 0.12.7.
CVE-2018-7251 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-7251
To remediate this vulnerability, upgrade all affected Anchorcms/anchor cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade anchorcms/anchor-cms to 0.12.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for anchorcms/anchor-cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-7251, inspect your project dependencies for Anchorcms/anchor cms:
inspect dependencies for anchorcms/anchor-cms
Analyze the terminal output to locate any version of Anchorcms/anchor cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Anchorcms/anchor cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-7251 Affected Anchorcms/anchor cms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
anchorcms/anchor-cms
|
Packagist |
< 0.12.7
|
0.12.7
|
References
Frequently Asked Questions
What is CVE-2018-7251?
Which Anchorcms/anchor cms versions are affected?
What version fixes CVE-2018-7251?
Is anchorcms/anchor-cms affected?
What is the CVSS score of CVE-2018-7251?
What CWE is associated with CVE-2018-7251?
How can I check Packagist dependencies for CVE-2018-7251?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hxcw-pqqc-rv85",
"modified" : "2023-10-06T17:53:47Z",
"published" : "2022-05-13T01:39:42Z",
"aliases" : [ "CVE-2018-7251" ],
"summary" : "Anchor CMS Logs Credentials",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "anchorcms/anchor-cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-7251"
}, {
"type" : "WEB",
"url" : "https://github.com/anchorcms/anchor-cms/issues/1247"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anchorcms/anchor-cms"
}, {
"type" : "WEB",
"url" : "https://github.com/anchorcms/anchor-cms/releases/tag/0.12.7"
}, {
"type" : "WEB",
"url" : "https://twitter.com/finnwea/status/965279233030393856"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/154723/Anchor-CMS-0.12.3a-Information-Disclosure.html"
}, {
"type" : "WEB",
"url" : "http://www.andmp.com/2018/02/advisory-assigned-CVE-2018-7251-in-anchorcms.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-21T21:45:40Z",
"nvd_published_at" : "2018-02-19T22:29:00Z"
}
}