llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · nilsteampassnet/teampass

GHSA-V7HQ-28RV-QH3P

LAPR: delete_account and update_account_policy skip the folder authorization check, allowing any operator to weaken or unmanage any account

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
7.7
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición87 dDesde la divulgación, 26 ago 2026, 12:16 a. m.
Detección85 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Yo la vigilo, tú la programas. ¿Trato?Ni alarma ni olvido: seguimiento.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
26 ago 26
19 nov 26
21 nov 26
26 ago 26
17 sept 26
8 oct 26
30 oct 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-V7HQ-28RV-QH3P divulgada · CVSS 7.7 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

Two mutating LAPR handlers, `delete_account` and `update_account_policy`, are the only account handlers that are not passed the session object and therefore perform no folder-scope authorization. Any user holding `can_manage_lapr` can retarget any managed account — including accounts on endpoints and in folders they cannot access — onto a rotation policy of their choosing, or remove the account from management entirely.

Details

In `app/sources/lapr_accounts.queries.php` the dispatch omits `$session` for exactly these two cases:

case 'delete_account':
    laprDeleteAccount($dataReceived, $userId, $lang);
    break;
case 'update_account_policy':
    laprUpdateAccountPolicy($dataReceived, $userId, $lang);
    break;

while their four siblings (`add_account`, `start_rotation`, `reset_account`, `list_account_history`) all receive it and call `laprUserCanWriteFolder()` / `laprUserCanReadFolder()` on the target item's folder. Neither function looks up the account's item or folder at all.

The load-bearing impact is `update_account_policy`. Rotation policies are global objects; any LAPR operator can create one. An attacker creates a policy with the weakest parameters the validator accepts (minimum length, a single character class) and a short frequency, then assigns it to a privileged account they cannot otherwise touch. `laprComputeNextRotation()` clamps a past result to `now`, so the next scheduler tick rotates that account to a trivially weak secret:

$nextRotation = laprComputeNextRotation($account['last_rotation_at'], $frequencyDays);

This is an integrity attack on live credential material, not a denial of service: the privileged Linux account genuinely ends up holding a weak password, and it keeps being reset to a weak password on every cycle.

`delete_account` additionally lets any operator silently stop rotation on any account and cancel its queued rotation tasks.

PoC
  1. Bob holds `can_manage_lapr` with access to one unrelated folder.
  2. Bob calls `list_accounts` (also unscoped) and reads the id of a `root` account managed by another team.
  3. Bob creates a policy: minimum length, lowercase only, frequency 1 day.
  4. Bob calls `update_account_policy` with that account id and his policy id. No folder check runs.
  5. `next_rotation_at` is clamped to now; the scheduler rotates the remote `root` password to a short single-character-class secret within one tick.
Impact

Authorization bypass allowing an authenticated LAPR operator to degrade the strength of credentials for privileged Linux accounts outside their scope, or to remove those accounts from rotation. Affects all installations with LAPR enabled.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.7/ 10Muy alto
Vector 8.7 (muy fácil) · sin evidencia de explotación.
Versiones

Versiones afectadas

3.2.2.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistnilsteampassnet/teampass
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/nilsteampassnet/TeamPass/security/advisories/GHSA-v7hq-28rv-qh3p

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.