// For flags

CVE-2021-43783

Path Traversal in @backstage/plugin-scaffolder-backend

Severity Score

8.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. In affected versions a malicious actor with write access to a registered scaffolder template is able to manipulate the template in a way that writes files to arbitrary paths on the scaffolder-backend host instance. This vulnerability can in some situation also be exploited through user input when executing a template, meaning you do not need write access to the templates. This method will not allow the attacker to control the contents of the injected file however, unless the template is also crafted in a specific way that gives control of the file contents. This vulnerability is fixed in version `0.15.14` of the `@backstage/plugin-scaffolder-backend`. This attack is mitigated by restricting access and requiring reviews when registering or modifying scaffolder templates.

backstage/plugin-scaffolder-backend es el backend para las plantillas de software Backstage por defecto. En las versiones afectadas, un actor malicioso con acceso de escritura a una plantilla de scaffolder registrada es capaz de manipular la plantilla de manera que escriba archivos en rutas arbitrarias en la instancia del host de scaffolder-backend. Esta vulnerabilidad también puede ser explotada en alguna situación mediante la entrada del usuario cuando se ejecuta una plantilla, lo que significa que no se necesita acceso de escritura a las plantillas. Sin embargo, este método no permitirá al atacante controlar el contenido del archivo inyectado, a menos que la plantilla también esté diseñada de una forma específica que permita controlar el contenido del archivo. Esta vulnerabilidad ha sido corregida en la versión "0.15.14" del "@backstage/plugin-scaffolder-backend". Este ataque es mitigado restringiendo el acceso y requiriendo revisiones cuando son registradas o modifican las plantillas de scaffolder

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
None
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-11-16 CVE Reserved
  • 2021-11-29 CVE Published
  • 2023-06-22 EPSS Updated
  • 2024-08-04 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Backstage
Search vendor "Backstage"
Backstage
Search vendor "Backstage" for product "Backstage"
< 0.15.14
Search vendor "Backstage" for product "Backstage" and version " < 0.15.14"
-
Affected