CVE-2026-78030
Carga arbitraria de módulos en DBI para Perl mediante atributos dbm_type y dbm_…
Crítica 9.8 Sin autenticación
Seguir: esta CVE Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 19 sep 2026
- Actualizada
- 22 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-470
- 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
DBI versiones anteriores a 1.653 permiten cargar y ejecutar módulos arbitrarios a través de los atributos dbm_type y dbm_mldbm en DBD::DBM sin validación. Un atacante que controle estos atributos (por ejemplo, mediante un fragmento DSN o parámetro de conexión) puede ejecutar código arbitrario con los permisos del proceso Perl.
Ver el texto original de NVD (en inglés)
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM.
DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs.
The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table.
A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names.
For example,
my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm"
my $dbh = DBI->connect( $dsn );
Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.
Qué hacer
Hay parche · versiones corregidas: 1.653
Actualiza DBI a la versión 1.653 o posterior para validar correctamente los atributos dbm_type y dbm_mldbm.
- Revisa si usas alguno de los productos afectados y sigue el aviso del fabricante.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Boletines oficiales
- Security update for perl-DBI · SUSE · openSUSE-SU-2026:22454-1 · 24 nov 2026 Crítica
- Red Hat Security Advisory: perl-DBI security update · Red Hat · RHSA-2026:99208 · 13 nov 2026 Alta
- Red Hat Security Advisory: perl-DBI security update · Red Hat · RHSA-2026:99209 · 13 nov 2026 Alta
- Red Hat Security Advisory: perl-DBI:1.641 security update · Red Hat · RHSA-2026:99210 · 13 nov 2026 Alta
- Security update for perl-DBI · SUSE · SUSE-SU-2026:4612-1 · 9 oct 2026 Crítica
- Security update for perl-DBI · SUSE · SUSE-SU-2026:4386-1 · 29 sep 2026 Crítica
Además: Red Hat (+3), SUSE (+5)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.