Summary
CVE-2018-25439 is an unauthenticated path traversal vulnerability (CWE-22) in MetInfo CMS versions 6.0.0 through 6.1.0. A remote attacker can read sensitive files from the server through the /include/thumb.php script. The CVSS v4.0 base score is 8.7 (High).
Technical details
- Root cause: The
dirparameter of/include/thumb.phpis not properly validated. The existing filter can be bypassed with crafted backslash sequences. - Trigger conditions: No authentication or user interaction is required. The published description gives
config_db.phpon Windows systems as an example of a file that can be read. - Attack vector: Network. An attacker sends specially crafted HTTP requests to
/include/thumb.phpwith a manipulateddirparameter. - Impact: Disclosure of sensitive files, such as the configuration file
config_db.php. The CVSS vectors show high confidentiality impact and no integrity or availability impact.
Affected software
- MetInfo CMS 6.0.0 through 6.1.0 (versions before 6.1.1)
Severity
- CVSS v4.0: 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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade MetInfo to version 6.1.1 or later, and test the change in a non-production environment first.
- Because
config_db.phpmay have been exposed, review whether any credentials stored in it should be rotated on instances that were exposed. - If upgrading is not possible, restrict network access to
/include/thumb.php, for example with a web application firewall rule or by blocking the path at the web server.

