GHSA-X7GX-VW59-36PP
Authenticated Path Traversal in Extension Upload
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X7GX-VW59-36PP divulgada · CVSS 6.6 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Authenticated Path Traversal in Extension ZIP Upload
#### Summary
A path traversal issue was identified in the extension package upload and installation flow.
Under specific conditions, crafted ZIP entry paths could bypass intended package location checks and write files outside the expected extension directory.
#### Affected Versions
- NukeViet CMS 4.5.08 and earlier (where the vulnerable flow is present)
#### Fixed Version
- Patched in the next release (v4.5.09) after commit 6308f0a9d4a6baebd8c6a03233f7d471d2edc383
#### Severity
- Severity: Medium (constrained by multiple preconditions)
- CWE: CWE-22 (Path Traversal)
- CVSS (practical context): Medium range due to required high privileges and deployment constraints
#### Technical Impact
- Unauthorized file write outside expected extension paths may be possible.
- In certain deployments, this may lead to code execution if written files are interpreted by the server.
#### Exploitation Preconditions
- Extension upload/install feature must be enabled (not enabled by default).
- Authenticated administrator-level access is required.
- Additional environment constraints may apply (for example IP restrictions and system configuration requirements).
- Attack requires multiple prerequisite steps and is not a one-click unauthenticated exploit.
#### Root Cause
Insufficient canonicalization and validation of ZIP member names in archive processing, especially for traversal-like path patterns across platform-specific path semantics.
#### Remediation
- Update to the fixed release.
- Keep extension upload/install disabled unless operationally required.
- Restrict privileged admin access and enforce trusted IP controls.
- Maintain strict server-side validation of archive entry paths and extraction boundaries.
#### Credit
Thanks Dung.nhv from WhiteHub #4436 for responsible disclosure.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistnukeviet/nukeviet |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/nukeviet/nukeviet/security/advisories/GHSA-x7gx-vw59-36ppLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
