CSV export/import functionality allows administrators to modify member and message content of a workspace
The CSV export/import feature used by workspace administrators allowed an admin to edit the exported file and change member or message content when importing it. The vendor considered this expected behaviour for trusted administrators and closed the report as informative.
Originally disclosed on HackerOne
- Paid in 11 days
- Disclosed after 53 days
Summary by the program
On August 6th, 2022 @security-warrior submitted a report in HackerOne to Slack regarding the CSV export/import functionality primarily used by administrators to merge workspaces. The report centers on the ability of an administrator to modify an export to change user or message content. Upon consideration of the trusted role of Slack administrators and the functionality our customers gained by allowing CSV export/import in an editable format, we closed the report as Informative since the feature was working as designed.
We thank @security-warrior for their report and wish them luck in their future bug hunting.
What the report shows
The target is Slack's CSV export/import functionality, on the app.slack.com asset, which the program describes as being primarily used by administrators to merge workspaces. The researcher, security_warrior, submitted the report to HackerOne on 6 August 2022.
The finding is narrow and easy to state: an administrator can take an export produced by the feature, edit it, and import it back so that user or message content changes. In other words, the CSV round trip is not a faithful, integrity-checked copy of workspace data; the file is treated as an editable input that the importing administrator controls.
The report as published contains no request, payload, command, endpoint, parameter or version. The only material is the program's summary, so there is nothing to reproduce at the protocol level. The steps, as far as they are described, are:
- An administrator exports workspace data through the CSV export functionality.
- The administrator modifies the exported file, changing user or message content.
- The administrator imports the modified file, and the changed content is accepted.
Slack closed the report as Informative. Its reasoning was that administrators are a trusted role, and that allowing CSV export/import in an editable format is the functionality customers gained from the feature. The feature was therefore working as designed. The disclosed record lists a bounty of 250.00 USD and no severity or CVSS score, and it does not describe any code change or fix.
Root cause
The report points to a missing trust boundary between the exported file and the data the platform will accept back. The report does not describe how the import path validates the file, or whether any signature, checksum or server-side record of the original export exists. The report only states that an administrator can modify an export to change user or message content.
The program treated it as intended behaviour because administrators are a trusted role and the editable format was functionality customers gained.
Impact
Within the report's own framing, the impact is that an administrator can alter member and message content during a CSV export/import cycle. The program's position is that this does not cross a privilege boundary, since administrators are trusted to manage their workspace. The report does not claim cross-tenant access, access by a non-administrator, or any effect on workspaces the actor does not administer, and no such effect should be read into it.
How this kind of bug works
Export/import features exist to move data between systems. The dangerous pattern is a round trip where the same format is both produced and consumed, and where the consumer trusts the file's contents because it was produced by the platform. Three properties matter:
- Authenticity. Can the importer tell a file the platform generated from one a user edited? Without a signature, MAC or server-side export record, it cannot.
- Authorisation of the content, not just the action. The importer checks that the caller may import. It rarely checks that each row's values are consistent with the caller's rights over the objects referenced, or with the state at export time.
- Provenance. After import, is there any marker showing the data came from a file rather than from normal use? Without one, downstream features (search, audit logs, retention, eDiscovery) treat imported content as ordinary content.
Bugs appear when one of these is assumed rather than enforced. The classic variants are importing rows that reference objects the caller cannot write to, importing identifiers that collide with existing records, and using the import to inject content that later renders in a context the importer could not otherwise reach.
How to test for it
- Identify every export format the application offers and whether a matching import exists. Prioritise formats that are documented as editable, such as CSV and JSON.
- Export a small, controlled data set and inspect the file: column names, identifiers, timestamps, and any signature, hash or version field.
- Modify one field at a time and re-import. Start with harmless text, then move to fields that carry meaning: ownership identifiers, author identifiers, timestamps, visibility flags, parent or channel references.
- Watch for the difference between rejection and silent acceptance. A positive result is an import that succeeds and a subsequent read (API, UI, search, export again) that shows the modified value persisted.
- Test the boundary: import a row that references an object belonging to another user or workspace, or an identifier you do not control, and see whether the server validates the reference against your rights.
- Check provenance afterwards: does an audit log, activity feed or second export show the change, and does it attribute it to the import or to the original author?
Common false positives: the import rejects the row but the UI shows a generic success message; the change persists only in a client-side cache; the field is legitimately user-editable anyway; or the actor already holds rights that make the change unremarkable. Confirm persistence with a fresh session and a server-side read before reporting.
How it is fixed
- Sign exports (HMAC or similar) and verify the signature on import, rejecting edited files or requiring an explicit, privileged override.
- Keep a server-side record of each export and reconcile imports against it, so changed rows are flagged rather than silently applied.
- Validate every reference in an imported row against the importer's current rights, not just the right to run an import.
- Mark imported records with provenance so audit, search and retention treat them distinctly.
- Where editability is a product requirement, make the trust decision explicit in documentation and treat the importing administrator as the author of the content.
Hunting notes
These features hide in admin and settings areas: workspace migration, backup and restore, bulk user provisioning, data retention tooling, and anything described as a merge or transfer. Recon signals include endpoints or UI paths containing words like export, import, migrate, merge, bulk and csv, and file uploads that accept structured formats rather than documents.
What happened, in plain words
Slack is a messaging application that teams use to talk to each other in shared spaces called workspaces. A workspace holds members (the people in it) and messages (what those people write). Slack offers a feature that lets you export workspace data to a file and import it back, and the program says this feature is primarily used by administrators to merge workspaces, meaning to combine the contents of one workspace into another.
The researcher, security_warrior, submitted a report to HackerOne on 6 August 2022 about this feature, on the app.slack.com asset. HackerOne is a platform where security researchers report bugs to companies. The finding is simple to state: an administrator can export workspace data, edit the exported file, and import it back so that user or message content changes. In everyday terms, think of a photocopier that also accepts photocopies as originals: you can take a copy out, write on it, feed it back in, and the machine treats your edited copy as genuine.
The published report contains no request, payload, command, endpoint, parameter or version, so there is nothing to reproduce at the technical level. The steps, as far as they are described, are:
- An administrator exports workspace data through the CSV export functionality.
- The administrator modifies the exported file, changing user or message content.
- The administrator imports the modified file, and the changed content is accepted.
CSV stands for comma-separated values: a plain text file where each line is a row of data and the values in a row are separated by commas. It is the kind of file a spreadsheet program can open and edit, which is exactly why it is useful for moving data around, and also why it is easy to change by hand.
Slack closed the report as Informative. Informative is a status meaning the report was read and understood but was not treated as a security vulnerability. The reasoning was that administrators are a trusted role, and that allowing CSV export and import in an editable format is the functionality customers gained from the feature. The feature was therefore working as designed. The disclosed record lists a bounty of 250.00 USD and no severity or CVSS score, and it does not describe any code change or fix.
Root cause
The report points to a missing trust boundary between the exported file and the data the platform will accept back. A trust boundary is the line between data you consider safe because of where it came from and data you must check because it could have been changed. Here the file crosses that line: it leaves the platform, can be edited by anyone holding it, and comes back in.
The report does not describe how the import path validates the file, or whether any signature, checksum or server-side record of the original export exists. A checksum is a short value computed from a file's contents; if the file changes, the checksum changes too, so it can reveal edits. A signature goes further and proves who produced the file. The report only states that an administrator can modify an export to change user or message content.
The program treated it as intended behaviour because administrators are a trusted role and the editable format was functionality customers gained.
Impact
Within the report's own framing, the impact is that an administrator can alter member and message content during a CSV export/import cycle. The program's position is that this does not cross a privilege boundary, since administrators are trusted to manage their workspace. The report does not claim cross-tenant access, access by a non-administrator, or any effect on workspaces the actor does not administer, and no such effect should be read into it.
In general, how this kind of bug works
Export and import features exist to move data between systems. The dangerous pattern is a round trip where the same format is both produced and consumed, and where the consumer trusts the file's contents because it was produced by the platform. Three properties matter:
- Authenticity. Can the importer tell a file the platform generated from one a user edited? Without a signature, MAC or server-side export record, it cannot. A MAC, or message authentication code, is a value computed with a secret key that lets the receiver check both that the file is unchanged and that it came from someone holding the key.
- Authorisation of the content, not just the action. The importer checks that the caller may import. It rarely checks that each row's values are consistent with the caller's rights over the objects referenced, or with the state at export time.
- Provenance. After import, is there any marker showing the data came from a file rather than from normal use? Without one, downstream features (search, audit logs, retention, eDiscovery) treat imported content as ordinary content. Provenance is simply the record of where something came from.
Bugs appear when one of these is assumed rather than enforced. The classic variants are importing rows that reference objects the caller cannot write to, importing identifiers that collide with existing records, and using the import to inject content that later renders in a context the importer could not otherwise reach.
In general, how to test for it
- Identify every export format the application offers and whether a matching import exists. Prioritise formats that are documented as editable, such as CSV and JSON.
- Export a small, controlled data set and inspect the file: column names, identifiers, timestamps, and any signature, hash or version field.
- Modify one field at a time and re-import. Start with harmless text, then move to fields that carry meaning: ownership identifiers, author identifiers, timestamps, visibility flags, parent or channel references.
- Watch for the difference between rejection and silent acceptance. A positive result is an import that succeeds and a subsequent read (API, UI, search, export again) that shows the modified value persisted.
- Test the boundary: import a row that references an object belonging to another user or workspace, or an identifier you do not control, and see whether the server validates the reference against your rights.
- Check provenance afterwards: does an audit log, activity feed or second export show the change, and does it attribute it to the import or to the original author?
Common false positives: the import rejects the row but the UI shows a generic success message; the change persists only in a client-side cache; the field is legitimately user-editable anyway; or the actor already holds rights that make the change unremarkable. Confirm persistence with a fresh session and a server-side read before reporting.
In general, how it is fixed
- Sign exports (HMAC or similar) and verify the signature on import, rejecting edited files or requiring an explicit, privileged override. HMAC is a specific kind of keyed checksum used for exactly this purpose.
- Keep a server-side record of each export and reconcile imports against it, so changed rows are flagged rather than silently applied.
- Validate every reference in an imported row against the importer's current rights, not just the right to run an import.
- Mark imported records with provenance so audit, search and retention treat them distinctly.
- Where editability is a product requirement, make the trust decision explicit in documentation and treat the importing administrator as the author of the content.
In general, hunting notes
These features hide in admin and settings areas: workspace migration, backup and restore, bulk user provisioning, data retention tooling, and anything described as a merge or transfer. Recon signals include endpoints or UI paths containing words like export, import, migrate, merge, bulk and csv, and file uploads that accept structured formats rather than documents.
Glossary
- Workspace: a shared space in Slack holding members and their messages.
- Administrator: a user with management rights over a workspace.
- CSV: comma-separated values, a plain text file of rows and columns that a spreadsheet can open and edit.
- Export: producing a file from data held by an application.
- Import: reading a file back into an application to create or change data.
- HackerOne: a platform where researchers report security bugs to companies.
- Informative: a report status meaning the report was understood but not treated as a vulnerability.
- Bounty: a payment made to a researcher for a valid report.
- Severity: a rating of how serious a vulnerability is.
- CVSS: a standard scoring system for vulnerability severity.
- Trust boundary: the line between data considered safe because of its origin and data that must be checked because it could have changed.
- Checksum: a short value computed from a file's contents, used to detect changes.
- Signature: a value that proves who produced a file and that it has not been altered.
- MAC: message authentication code, a keyed value used to verify a file's integrity and origin.
- HMAC: a specific type of keyed checksum used to sign data.
- Authenticity: whether the receiver can tell who produced a file and whether it was edited.
- Authorisation: checking whether a user is allowed to perform an action.
- Provenance: the record of where data came from.
- Privilege boundary: the line between what one level of user may do and what another may do.
- Cross-tenant access: reaching data belonging to another organisation or workspace.
- Audit log: a record of actions taken in a system.
- eDiscovery: the process of finding and collecting data, often for legal reasons.
- Retention: rules for how long data is kept.
- Endpoint: a specific address an application responds to.
- Payload: the data sent in a request.
- Parameter: a named value passed in a request.
- API: a programmatic interface for reading or changing data.
- Client-side cache: data stored in the browser rather than on the server.
- False positive: a finding that looks like a bug but is not.
- Recon: the information-gathering stage before testing.
- Bulk user provisioning: creating or changing many user accounts at once.
- Migration: moving data from one place to another.
- Merge: combining the contents of two workspaces.
- JSON: a structured text format for data, similar in purpose to CSV.