Summary
CVE-2018-25438 is an unauthenticated path traversal (CWE-22) vulnerability in Intermesh Group-Office versions 3.3.0 up to, but not including, 3.5.5. A remote attacker can read arbitrary files from the server through the compress.php script. The CVE lists a CVSS v4.0 score of 8.7 (High) and a CVSS v3.1 score of 7.5 (High).
Technical details
- Root cause:
compress.phpdoes not properly validate thefileparameter. The value is appended to the cache path and passed toreadfile(). - Trigger conditions: No authentication or user interaction is required. The attacker sends a crafted request to
compress.php. - Attack vector: A network GET request to
/compress.phpwith../sequences in thefileparameter. - Impact: Disclosure of arbitrary files readable by the web server process, for example
/etc/passwd. The CVE describes a confidentiality impact only. - Exploitation: The CVE record cites exploitation activity observed by the Shadowserver Foundation on October 21, 2023. A public exploit (CXSecurity WLB-2018020249) and a Nuclei template are referenced.
Affected software
- Intermesh Group-Office 3.3.0 through 3.5.4 (fixed in 3.5.5).
Severity
- CVSS v3.1 base score: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v4.0 base score: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade Group-Office to version 3.5.5 or later. Moving to a currently supported release is preferable, because the 3.x branch is old.
- If you cannot patch: Restrict network access to the Group-Office instance, for example to a VPN or an IP allowlist. You can also block requests to
compress.phpthat contain../sequences, or their encoded forms, in thefileparameter, using a WAF or reverse proxy. - Review web server logs for requests to
compress.phpwith traversal sequences. Treat any sensitive files readable by the web server account as potentially exposed.

