ZeroHour

CVE-2026-72708

large

Unauthenticated Blind SQL Injection in SPIP Public Sitemap Endpoint

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

SPIP before 4.4.18 is vulnerable to an unauthenticated blind SQL injection in its public sitemap endpoint, caused by a flaw in the MySQL escaper spip_mysql_cite() in ecrire/req/mysql.php that returns values unescaped when the target column is a date type and the supplied value matches a word character followed by an open parenthesis. An attacker sends a crafted value, such as a time-based payload, via the annee parameter of squelettes-dist/sitemap.xml.html, causing arbitrary SQL to be embedded directly into the generated query. Because the injection is blind, the attacker relies on time-based or boolean-based responses to extract arbitrary database content, including the alea_ephemere secret used to sign action nonces, which could enable further attacks against authenticated actions. Any SPIP site running a version prior to 4.4.18 with the public sitemap reachable is affected, and no authentication is required to exploit the flaw. There is currently no known public proof-of-concept, the issue is not listed in CISA KEV, and no in-the-wild exploitation has been reported.

What to do: Upgrade SPIP to version 4.4.18 or later, which fixes the spip_mysql_cite() escaping flaw. If upgrading is not immediately possible, restrict or disable public access to the sitemap endpoint (squelettes-dist/sitemap.xml.html) or filter/validate the annee parameter at a reverse proxy or WAF. After remediation, check logs for anomalous delays or unusual annee parameter values in sitemap requests, and consider rotating the alea_ephemere secret if compromise is suspected.

Affected
SPIP (SPIP project) SPIPAll versions before 4.4.18
Estimated exposure
largetens of thousands of publicly reachable SPIP sites (order of ~10,000–100,000 instances) — SPIP is a widely deployed open-source CMS, especially in the French public sector and education, with internet-wide scans and public directories historically showing tens of thousands of exposed SPIP servers; only sites exposing the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SPIP before 4.4.18 contains an unauthenticated blind SQL injection vulnerability in the SQL escaping layer that allows unauthenticated attackers to inject arbitrary SQL by supplying a crafted annee parameter value matching a word character followed by an open parenthesis, which bypasses escaping for date-type columns across MySQL, SQLite, and PostgreSQL backends. Attackers can exploit the always-present sitemap.xml.html template's annee criterion to embed unescaped time-based or boolean payloads into database queries, enabling extraction of arbitrary database content including the alea_ephemere secret used to sign SPIP action nonces.

Weakness
CWE-89
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.