CVE-2026-97637parorrey JSON API Auth
Bypass de autenticación por divulgación de cookie de sesión en caché en JSON AP…
Crítica 9.8 Sin autenticación
Seguir: esta CVE · parorrey · parorrey JSON API Auth Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 2 oct 2026
- Actualizada
- 3 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-287
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
El plugin JSON API Auth para WordPress es vulnerable a un bypass de autenticación en todas las versiones hasta la 3.1.2. La vulnerabilidad permite a atacantes no autenticados obtener una cookie de sesión válida de administrador desde la respuesta en caché del endpoint `generate_auth_cookie/` y usarla para autenticarse completamente como administrador del sitio. La explotación requiere que el plugin padre PI-Media/json-api esté activo con el controlador Auth habilitado.
Ver el texto original de NVD (en inglés)
The JSON API Auth plugin for WordPress is vulnerable to Authentication Bypass via Cached Session Cookie Disclosure in all versions up to, and including, 3.1.2. The vulnerability exists because the required PI-Media/json-api parent plugin caches controller dispatch results in transients keyed solely by URI and query string, ignoring HTTP method and POST body; this causes the `generate_auth_cookie()` endpoint — which embeds a live WordPress `logged_in` cookie produced by `wp_generate_auth_cookie()` directly in its JSON response body — to serve that cached authenticated response to any subsequent unauthenticated GET request to the same URI. This makes it possible for unauthenticated attackers to retrieve a valid Administrator `logged_in` session cookie from the cached response and use it to fully authenticate as the site Administrator, including via the same plugin's `get_currentuserinfo` endpoint and any cookie-authenticated controller action. Exploitation requires the PI-Media/json-api parent plugin to be installed and active with the Auth controller enabled, and a legitimate Administrator must have POSTed to `/api/auth/generate_auth_cookie/` within the preceding 24-hour cache TTL; the nominal HTTPS enforcement gate present in `Auth.php` is trivially bypassed by supplying `insecure=cool` as a request parameter.
Qué hacer
Sin datos de parche
Desactiva el plugin JSON API Auth y el plugin padre PI-Media/json-api hasta que se publique una versión corregida. Revisa los registros de acceso para detectar posibles explotaciones.
- Aplica la actualización de seguridad del fabricante para JSON API Auth.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- parorrey · JSON API Auth
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.