
Cloud Vulnerability DB
A community-led vulnerabilities database
wallabag has a Stored XSS / CWE-79 issue in the import feature. Uploaded import files were stored under the web root and were only deleted when the import succeeded. This summary is defensive and intentionally omits exploit instructions.
An authenticated user can upload an import file that fails to import. The file then stays in a web-accessible folder of the instance, under a predictable name. Since wallabag 2.6.13, HTML files are accepted by the Pocket HTML and Shaarli importers: such a file is served in the wallabag origin, and a script it contains runs in the session of any logged-in user who opens it. This can expose data visible to the victim and permit same-origin actions in the victim's session. Before 2.6.13, HTML uploads were not accepted, but JSON and CSV files from failed imports were left in the same web-accessible folder.
Stored XSS: wallabag 2.6.13 through 2.6.15. Failed import files left under the web root: all versions up to 2.6.15.
wallabag 2.6.16.
Block access to the web/uploads/import folder in the web server configuration, or restrict access to the import feature to trusted users.
After upgrading to 2.6.16, delete the content of the web/uploads/import folder: it may contain files left by previous failed imports.
The import controllers moved the uploaded file to web/uploads/import with a name derived from the user id, then removed it only when the import returned a success. Since 2.6.16, uploads are stored in var/import, outside of the web root, under a random name, and they are always deleted after processing, whatever the import result.
See the credits section of this advisory.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."