CVE-2016-7998 Code injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary PHP code in SPIP by uploading a crafted HTML file and triggering a specific action.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-7998?

CVE-2016-7998 is a high-severity code injection vulnerability in Spip Spip, published on 18 Jan 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2016-7998?

It affects 1 product.

Products include Spip Spip.

How do I fix CVE-2016-7998?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-7998 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-7998 exists.

Public exploit code: 1 Exploit-DB entry.

All Spip Spip vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-7998, GHSA-q539-39f7-xr44, UBUNTU-CVE-2016-7998.

Is CVE-2016-7998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free