CVE-2016-7998
Description
The SPIP template composer/compiler in SPIP 3.1.2 and earlier allows remote authenticated users to execute arbitrary PHP code by uploading an HTML file with a crafted (1) INCLUDE or (2) INCLURE tag and then accessing it with a valider_xml action.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
SPIP 3.1.2 Template Compiler/Composer - PHP Code Execution
OS impact
Debian Fixed 4 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.1.3-1 |
| sid | Fixed | 3.1.3-1 |
| forky | Fixed | 3.1.3-1 |
| bullseye | Fixed | 3.1.3-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spip | spip | {"endIncluding":"3.1.2"} | |
References
- http://www.openwall.com/lists/oss-security/2016/10/05/17
- http://www.openwall.com/lists/oss-security/2016/10/07/5
- http://www.openwall.com/lists/oss-security/2016/10/08/6
- http://www.securityfocus.com/bid/93451
- https://core.spip.net/projects/spip/repository/revisions/23186
- https://core.spip.net/projects/spip/repository/revisions/23189
- https://core.spip.net/projects/spip/repository/revisions/23192
- https://sysdream.com/news/lab/2016-10-19-spip-3-1-2-template-compiler-composer-php-code-execution-cve-2016-7998/
- https://security-tracker.debian.org/tracker/CVE-2016-7998
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.