plentico/plenti · Security
Plenti arbitrary file write vulnerability
- GHSA ID
- GHSA-2p96-p7qh-4rgr
- CVE ID
- CVE-2024-49380
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Description
Plenti, a static site generator, has an arbitrary file write vulnerability in versions prior to 0.7.2. The /postLocal endpoint is vulnerable to an arbitrary file write vulnerability when a plenti user serves their website. This issue may lead to Remote Code Execution. Version 0.7.2 fixes the vulnerability.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-49380 ↗
- https://github.com/plentico/plenti/blob/01825e0dcd3505fac57adc2edf29f772d585c008/cmd/serve.go#L205 ↗
- https://github.com/plentico/plenti/releases/tag/v0.7.2 ↗
- https://securitylab.github.com/advisories/GHSL-2024-297_GHSL-2024-298_plenti ↗
- https://github.com/advisories/GHSA-2p96-p7qh-4rgr ↗