llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · silverstripe/framework

GHSA-7MV4-4XPG-XQ44

FormField with square brackets in field name skips validation

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión4.7.4
Exposición1.701 dDesde la divulgación, 25 mar 2022, 7:14 p. m.
Detección1.697 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
26 mar 22
17 feb 24
17 nov 26
21 nov 26
26 mar 22
25 may 23
23 jul 24
21 sept 25
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-7MV4-4XPG-XQ44 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

FileField with array notation skips validation

The FileField class is commonly used for file upload in custom code on a Silverstripe website. This field is designed to be used with a single file upload.

PHP allows for submitting multiple values by adding square brackets to the field name. When this is done to a FileField, it will be coerced into allowing multiple files by using this notation. This is not a supported feature, though nothing is done to prevent this.

In this scenario, validation such as limiting allowed extensions is not applied, and the FileField->saveInto() behaviour is not triggered. If custom controller logic is used to process the file uploads, it might implicitly rely on validation to be provided by the Form system, which is not the case.

Versiones

Rangos afectados

Afectada Corregida
silverstripe/framework≥ 3.0.0 < 4.7.4
3.0.0
4.7.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistsilverstripe/framework
Corregida 4.7.4 — —
Versiones corregidas4.7.4
Explotación

Arsenal público

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

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-26138
Otrahttps://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2020-26138.yaml
Otrahttps://www.silverstripe.org/download/security-releases/cve-2020-26138

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