# After the upload of an private file, using transformations, the file becomes public without the possibility of changing it.

Private Phabricator file transformations generated via 'View Transformations' produced a public, immutable cropped image, leaking the original private content.

- Payout: $1,000
- Severity: medium
- Program: Mozilla
- Found by: limusec
- Disclosed: 2023-10-20
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/1984060
- Library page: https://bugbountylibrary.com/r/h1%3A1984060
- Tags: area:web domain:web impact:data-leak impact:pii-leak kind:bounty platform:hackerone sev:medium tech:php vuln:access-control vuln:info-disclosure

**Target:** Phabricator file upload / image transformation endpoint (phabricator.allizom.org)
**Root cause:** The transformation generation path does not inherit the source file's visibility policy, creating a derived image with public access that the owner cannot modify or delete.
**Steps:**
1. Upload a private image at `/file/upload/` and set visibility to 'no one' or 'just you'.
2. Open 'View Transformations' on the file.
3. Click regenerate next to a transform (e.g. profile) to generate a cropped derivative.
4. Return to the transforms page; a new public link to the derived image appears.
5. Confirm the derived image is publicly accessible and cannot be edited or deleted by the owner.
**How found:** Researcher noticed that after regenerating a transformation on a private file, a new public link appeared on the transforms page that could not be modified or deleted, contradicting the file's private visibility setting.
**Exploitation:** Any user who generates a transformation on a private file inadvertently publishes a derived image publicly; the owner has no way to revoke it, exposing the original private content (e.g. PII in an uncropped region).
**Insight:** When a system derives new artifacts (thumbnails, crops, transforms) from access-controlled objects, test whether the derivative inherits the source's ACL and whether the owner retains delete/modify control over it.

