← Vulnerability feed

Vulnerability record · CVE-2018-7662 · published 4 March 2018

CVE-2018-7662: CouchCMS path disclosure via direct PHP file requests

Couchcms · Couch

CouchCMS through 2.0 exposes the full server filesystem path when an attacker directly requests includes/mysql2i/mysql2i.func.php or addons/phpmailer/phpmailer.php. The flaw is a CWE-200 information exposure that leaks installation paths, which aids reconnaissance for follow-on attacks. It is a low-severity disclosure rather than code execution or data theft.

5.3 CVSS 3.0 Medium EPSS 47% · top 1.2% CWE-200 · Information exposure
5.3CVSS 3.0 base score, v2 5.0
47%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Couch through 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.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

medium priorityThe flaw only leaks path information, but it is remotely reachable without authentication and has high EPSS with public exploit references.

What it is

CouchCMS through 2.0 exposes the full server filesystem path when an attacker directly requests includes/mysql2i/mysql2i.func.php or addons/phpmailer/phpmailer.php. The flaw is a CWE-200 information exposure that leaks installation paths, which aids reconnaissance for follow-on attacks. It is a low-severity disclosure rather than code execution or data theft.

Impact

An attacker learns the absolute filesystem path of the CouchCMS installation. That path knowledge can support later attacks such as local file inclusion or path-based targeting, but no direct compromise is gained.

Attack surface

Reachable remotely over HTTP by requesting the two PHP files directly; no authentication and no user interaction are required per the CVSS vector AV:N/AC:L/PR:N/UI:N.

Exploitation

Not listed in CISA KEV and no ransomware use documented, but EPSS is 0.47085 (98.8th percentile) and both references are tagged Exploit, indicating public exploit detail exists.

What to do

  • Upgrade CouchCMS past 2.0 to a release that fixes the path disclosure.
  • If upgrade is not possible, block direct HTTP access to includes/mysql2i/mysql2i.func.php and addons/phpmailer/phpmailer.php at the web server or WAF.
  • Disable PHP error and path output in production and ensure these library files are not web-accessible.
  • Review web server logs for direct requests to these paths to identify scanning activity.

Detection

  • Alert on HTTP requests to /includes/mysql2i/mysql2i.func.php or /addons/phpmailer/phpmailer.php.
  • Search web logs for responses containing absolute filesystem paths from these endpoints.
  • Monitor for scanning patterns enumerating CouchCMS library and addon paths.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/CouchCMS/CouchCMS/issues/46 ExploitIssue TrackingThird Party Advisory
https://github.com/CouchCMS/CouchCMS/issues/46 ExploitIssue TrackingThird Party Advisory

Track CVE-2018-7662 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

5.9CVE-2025-68686FortiOS symbolic link patch bypass exposes sensitive informationFortiOS contains an information exposure flaw (CWE-200) that lets a remote unauthenticated attacker bypass the patch for the symbolic link persistenc…KEVEPSS 30%analysed7.5CVE-2026-20133Cisco Catalyst SD-WAN Manager insufficient file system restrictions expose dataCisco Catalyst SD-WAN Software has insufficient file system restrictions that let an attacker read sensitive files on the underlying operating system…KEVEPSS 32%analysed7.5CVE-2025-31125Vite dev server improper access control exposes arbitrary filesVite's dev server fails to restrict file access when a request uses the ?inline&import or ?raw?import query patterns, allowing content of files that …KEVEPSS 65%analysed5.5CVE-2026-20805Windows Desktop Window Manager information disclosureDesktop Windows Manager (DWM) in Microsoft Windows exposes sensitive information to an unauthorized actor, allowing a local attacker with existing ac…KEVEPSS 7.2%analysed7.5CVE-2021-41277Metabase custom GeoJSON map feature allows local file inclusionMetabase does not validate URLs supplied through the custom GeoJSON map setting (admin->settings->maps->custom maps->add a map) before loading them. …KEVEPSS 97%analysed8.6CVE-2024-24919Check Point Security Gateway information disclosure via remote access VPNCheck Point Security Gateways with Remote Access VPN or Mobile Access Software Blades enabled expose information to an unauthenticated attacker reach…KEVEPSS 100%analysed5.5CVE-2023-21237Android notification UI flaw hides foreground service alertsIn applyRemoteView of NotificationContentInflater.java, Android 13 mishandles notification UI so a foreground service notification can be hidden. The…KEVEPSS 0.27%analysed7.5CVE-2020-3259Cisco ASA and FTD web services memory disclosure via crafted URLCisco ASA and FTD web services interfaces mishandle buffer tracking when parsing invalid URLs, allowing memory contents to be read. The flaw affects …KEVEPSS 72%analysed

Source: NIST National Vulnerability Database (record CVE-2018-7662), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.