Descrizione
Wiki.js 3.0.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to create pages in denied branches by submitting non-canonical paths. Attackers can send case-varied paths to POST /_api/sites/:siteId/pages, which are normalized after the case-sensitive write:pages check, publishing pages in protected branches and disclosing existing page paths.
Tipo di vulnerabilità
CWE-647
Use of Non-Canonical URL Paths for Authorization Decisions
The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
| Riservatezza |
Leggere file o cartelle |
Come si previene
Architettura e progettazione
Make access control policy based on path information in canonical form, with all alternate encodings rejected (which can be accomplished by a default deny rule). Consider very restrictive regular expressions to validate that the path is in the expected form. Reject all alternate path encodings that are not in the expected canonical form.
Tutte le 20 CVE di tipo CWE-647, con andamento e prevenzione