Description
The SPIP referer_spam plugin versions prior to 1.3.0 contain an unauthenticated SQL injection vulnerability in the referer_spam_ajouter and referer_spam_supprimer action handlers. The handlers read the url parameter from a GET request and interpolate it directly into SQL LIKE clauses without input validation or parameterization. The endpoints do not enforce authorization checks and do not use SPIP action protections such as securiser_action(), allowing remote attackers to execute arbitrary SQL queries.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
SPIP referer_spam
Default version status: unaffected
0 to < 1.3.0affected
References
- https://chocapikk.com/posts/2026/spip-plugins-vulnerabilities/ ↗
- https://blog.spip.net/Mise-a-jour-de-securite-sortie-de-SPIP-4-4-10.html ↗
- https://plugins.spip.net/referer_spam.html ↗
- https://git.spip.net/spip-contrib-extensions/referer_spam/-/commit/33682df73cd5f7e9c72d8c4d5088611fa2441683 ↗
- https://www.vulncheck.com/advisories/spip-referer-spam-unauthenticated-sql-injection ↗