PT-2026-109485 · Hostspa · Fastcache By Host.It

·

CVE-2026-104021

·

Publicado

2026-10-10

·

Atualizado

2026-10-10

CVSS v3.1

7.2

Alta

VetorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
The Fastcache by Host.it plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.7.4 via the fastcache settings[cache cookie exclude][] parameter. This is due to the plugin registering the cache cookie exclude setting via register setting() without a sanitize callback, while buildSiteHtaccessRules() applies only trim() to each cookie value before interpolating it directly into an Apache RewriteCond line — a normalization that strips surrounding whitespace but leaves embedded newlines intact, allowing an attacker to break out of the capture group and append arbitrary directives. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary Apache directives into the site's .htaccess file via file put contents(), enabling server-level configuration changes such as setting php value auto prepend file to execute attacker-controlled PHP code on every request.

Correção

Code Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-104021

Produtos afetados

Fastcache By Host.It