CVE-2016-7982
published 2017-01-18CVE-2016-7982: Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to enumerate the files on the system via the…
PriorityP267high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
20.52%
97.2th percentile
Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to enumerate the files on the system via the var_url parameter in a valider_xml action.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | spip | < spip 3.1.3-1 (bullseye) | spip 3.1.3-1 (bullseye) |
| spip | spip | <= 3.1.2 | — |
| spip | spip | >= 0 < 3.1.3-1 | 3.1.3-1 |
| spip | spip | >= 0 < 3.1.3-1 | 3.1.3-1 |
| spip | spip | >= 0 < 3.1.3-1 | 3.1.3-1 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor HTTP requests to the SPIP endpoint `ecrire/` with query parameters `exec=valider_xml` combined with a `var_url` parameter containing filesystem paths (e.g. `/etc`) or PHP stream wrappers (e.g. `file:///`) — this is the direct exploitation pattern for file enumeration. ↗
- →Detect bypass attempts using PHP Wrappers in the `var_url` parameter (e.g. `file:///`) to circumvent path traversal protections introduced in SPIP 3.1.2. ↗
- →Alert on HTTP responses from `ecrire/exec/valider_xml.php` that contain directory listings or file names, as the vulnerable code echoes enumerated file results directly to the response output. ↗
- ·SPIP 3.1.2 introduced a partial path traversal fix that was bypassable via PHP stream wrappers (`file:///`); detection rules must account for both raw path and wrapper-prefixed `var_url` values to avoid blind spots. ↗
- ·Additional bypass vectors exist for Windows systems; detection logic should not be limited to Unix-style paths. ↗
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6r9c-25q3-26fc: Directory traversal vulnerability in ecrire/exec/valider_xml
ghsa_unreviewed·2022-05-17
CVE-2016-7982 [HIGH] CWE-22 GHSA-6r9c-25q3-26fc: Directory traversal vulnerability in ecrire/exec/valider_xml
Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to enumerate the files on the system via the var_url parameter in a valider_xml action.
OSV
CVE-2016-7982: Directory traversal vulnerability in ecrire/exec/valider_xml
osv·2017-01-18·CVSS 7.5
CVE-2016-7982 [HIGH] CVE-2016-7982: Directory traversal vulnerability in ecrire/exec/valider_xml
Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to enumerate the files on the system via the var_url parameter in a valider_xml action.
Debian
CVE-2016-7982: spip - Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 a...
vendor_debian·2016·CVSS 7.5
CVE-2016-7982 [HIGH] CVE-2016-7982: spip - Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 a...
Directory traversal vulnerability in ecrire/exec/valider_xml.php in SPIP 3.1.2 and earlier allows remote attackers to enumerate the files on the system via the var_url parameter in a valider_xml action.
Scope: local
bullseye: resolved (fixed in 3.1.3-1)
forky: resolved (fixed in 3.1.3-1)
sid: resolved (fixed in 3.1.3-1)
trixie: resolved (fixed in 3.1.3-1)
No detection rules found.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2016/10/05/17http://www.openwall.com/lists/oss-security/2016/10/06/6http://www.openwall.com/lists/oss-security/2016/10/12/8http://www.securityfocus.com/bid/93451https://core.spip.net/projects/spip/repository/revisions/23200https://sysdream.com/news/lab/2016-10-19-spip-3-1-1-3-1-2-file-enumeration-path-traversal-cve-2016-7982/http://www.openwall.com/lists/oss-security/2016/10/05/17http://www.openwall.com/lists/oss-security/2016/10/06/6http://www.openwall.com/lists/oss-security/2016/10/12/8http://www.securityfocus.com/bid/93451https://core.spip.net/projects/spip/repository/revisions/23200https://sysdream.com/news/lab/2016-10-19-spip-3-1-1-3-1-2-file-enumeration-path-traversal-cve-2016-7982/
2017-01-18
Published