Summary
CVE-2016-20100 is a path traversal vulnerability (CWE-22) in the Memphis Documents Library WordPress plugin. An unauthenticated remote attacker can read arbitrary files from the server, including wp-config.php, which holds database credentials. The CVE record carries a CVSS v4.0 score of 8.7 (High). Exploitation was first observed on October 22, 2023, according to the Shadowserver Foundation, which reported it.
Technical details
- Root cause: The
mdocs-img-previewparameter is not properly restricted to the intended directory, which allows path traversal. - Trigger conditions: The vulnerable plugin version must be installed and active. No authentication or user interaction is needed.
- Attack vector: Network. The attacker sends a crafted request that sets the
mdocs-img-previewparameter to a traversal path. - Impact: Disclosure of arbitrary files readable by the web server. The CVE record gives
wp-config.phpas an example, which exposes database credentials. The record describes no integrity or availability impact.
Affected software
- Memphis Documents Library WordPress plugin (vendor: Ian Howatson), versions 2.2.1 up to but not including 3.1.6.
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
The CVE record does not list a CVSS v3.1 score of 8.7. The 8.7 score comes from the v4.0 vector.
Mitigation and recommended actions
- Immediate: Upgrade Memphis Documents Library to version 3.1.6 or later.
- Because exploitation has been observed, review web server logs for requests containing
mdocs-img-previewwith traversal sequences. - Rotate the database credentials and any other secrets stored in
wp-config.phpif you suspect exposure. - If you cannot patch, deactivate and remove the plugin, or block requests containing the
mdocs-img-previewparameter at a WAF or reverse proxy.

