Tina to headless content management system. W wersjach wcześniejszych niż 2.1.2, TinaCMS pozwala użytkownikom tworzyć, aktualizować i usuwać dokumenty zawartości przy użyciu ścieżek względnych (relativePath, newRelativePath) przez mutacje GraphQL. W pewnych warunkach ścieżki te są łączeni ze ścieżką kolekcji za pomocą path.join() bez sprawdzenia, czy rozwiązana ścieżka pozostaje w katalogu głównym kolekcji. Ponieważ path.join() nie zapobiega path traversal, ścieżki zawierające sekwencje ../ mogą wyjść poza zamierzone granice katalogów. Podatność ta została naprawiona w wersji 2.1.2.
▸ Pokaż oryginał (EN)
Tina is a headless content management system. Prior to 2.1.2, TinaCMS allows users to create, update, and delete content documents using relative file paths (relativePath, newRelativePath) via GraphQL mutations. Under certain conditions, these paths are combined with the collection path using path.join() without validating that the resolved path remains within the collection root directory. Because path.join() does not prevent directory traversal, paths containing ../ sequences can escape the intended directory boundary. This vulnerability is fixed in 2.1.2.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LSsw Tinacms\/graphql
APPSsw< 2.1.2
Powiązane podatności
Tina is a headless content management system. Prior to version 2.2.2, a path traversal vulnerability in @tinac...
Tina is a headless content management system. Prior to version 2.2.2, @tinacms/graphql uses string-based path ...
Tina is a headless content management system. In tinacms prior to version 3.1.1, tinacms uses the gray-matter ...
TinaCMS CLI: path traversal + CORS umożliwiają atak drive-by na deweloperów
Tina is a headless content management system. Prior to version 2.2.2, @tinacms/cli recently added lexical path...