ApostropheCMS: Arbitrary file read via import-export attachment-name path traversal
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @apostrophecms/import-export 3.6.2.
ApostropheCMS is an open-source Node.js content management system. Prior to 3.6.2, the import-export module in packages/import-export/lib/formats/gzip.js constructs an attachment source path from the attacker-controlled _id, name, and extension fields in aposAttachments.json without ensuring that the resolved path remains under the extracted attachments directory, allowing an authenticated contributor to import a crafted archive, read a host file with an allowed extension, and publish the copied file at an unauthenticated uploads URL. This issue is fixed in version 3.6.2.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apostrophecms | <3.6.2 | ||
| npm: @apostrophecms/import-export | <3.6.2, <=3.6.1 | 3.6.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket