Wekan
Wekan: Shell Injection via Avatar Upload
Wekan is open source kanban built with Meteor. Prior to 9.07, Wekan avatar upload functionality embeds user-supplied filenames into paths later passed to child_process.exec() for MIME-type detection. Because models/avatars.js and models/fileValidation.js used a shell command with the avatar filename, shell metacharacters such as backticks and $() in the filename could execute commands on the server. This issue is fixed in version 9.07.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
wekan wekan
- < 9.07
Fixed in 9.07
Mitigation
Upgrade wekan to 9.07 or later.
References
- Vendor advisory github.com/wekan/wekan/security/advisories/GHS…
- Patch github.com/wekan/wekan/commit/a4c74a5980e9f778…
- Release notes github.com/wekan/wekan/releases/tag/v9.07
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.