llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · modoboa

GHSA-VRW4-G73X-P7Q7

Domain administrators can train the global SpamAssassin Bayesian database

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
4.1
Media
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición8 dDesde la divulgación, 13 nov 2026, 11:25 a. m.
Detección5 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. Hay versiones corregidas disponibles.
Tranqui, va para la ventana de mantenimiento.Paso a paso, como subiendo al Cotopaxi.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 2.13.0
Monitoreo
Detectada +1
13 nov 26
19 nov 26
21 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-VRW4-G73X-P7Q7 divulgada · CVSS 4.1 (GitHub)
Remediación Parche 2.13.0 modoboa · 0 d desde divulgación
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

The quarantine `mark_selection` action permits an authenticated domain administrator to train SpamAssassin using the configured default Bayesian database, even when the administrator should be limited to a dedicated domain database. When manual learning is enabled for domain administrators, the action defaults every non-`SimpleUsers` caller to `database="global"`. It also accepts a caller-supplied `database` string without role or allowed-database validation. The queued worker maps `global` to the configured `default_user` and passes that identity to `sa-learn -u` or `spamc -u`.

Details

The application describes `domain_level_learning` as allowing domain administrators to train within dedicated per-domain databases, while `default_user` names the default Bayesian database. The request must select a quarantine message and recipient that the administrator can access; this is a database-scope bypass, not a bypass of message-recipient access. The same default-global behavior occurs when only `user_level_learning` is enabled, because that setting also makes `manual_learning_enabled` true for domain administrators.

Proof of concept
  1. `MarkMessageSelectionSerializer` https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/amavis/serializers.py#L122 accepts `database` as an optional, unconstrained `CharField`.
  2. `QuarantineViewSet.mark_selection` https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/amavis/viewsets.py#L250 checks access to each selected message and calls `manual_learning_enabled`, but does not authorize the requested learning database. When `database` is omitted, it chooses `"global"` for every role other than `SimpleUsers` and enqueues that value.
  3. `manual_learning_enabled` https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/amavis/lib.py#L336 allows a domain administrator to learn when `domain_level_learning` or `user_level_learning` is enabled.
  4. `tasks.manual_learning` https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/amavis/tasks.py#L11 forwards the queued database name unchanged to `SpamassassinClient`.
  5. `SpamassassinClient._learn` https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/amavis/lib.py#L182 uses `default_user` for `global`, the recipient\'s domain for `domain`, and passes that username to the learning command. The SpamAssassin `sa-learn` documentation https://spamassassin.apache.org/full/4.0.x/doc/sa-learn.html states that `-u` selects the user identity used for per-user Bayesian storage.
Impact

When manual SpamAssassin learning is enabled for domain administrators
(`domain_level_learning`) or for users (`user_level_learning`), the
`POST /api/v2/amavis/quarantine/mark_selection/` endpoint did not check
which Bayesian database the caller was allowed to train.

A domain administrator (or reseller) could send `"database": "global"`, or simply
leave the `database` field out (`global` was the server-side default for every
non-simple-user role). Messages from their own domain were then learned as
spam or ham into the database owned by the `default_user` setting
(`amavis` by default). Domains that do not have a dedicated per-domain
database use this database for filtering, so a domain administrator could
change spam filtering for other tenants.

Access to the messages themselves was still enforced: only quarantined
messages addressed to recipients the administrator manages could be used.

The web interface only offers the global database to super administrators.
The bug is reachable through direct API calls. It can also be reached by
API clients that leave out the `database` field.

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:H
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.3/ 10Alto
Vector 7.3 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
modoboa≤ 2.12.0
2.12.0
2.13.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypimodoboa
Corregida 2.13.0 0 d 2.13.0 no afectada
Versiones corregidas2.13.0
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/modoboa/modoboa/security/advisories/GHSA-vrw4-g73x-p7q7

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