Through Toreon, I was assigned to run a penetration test on the Axway SecureTransport instance of one of our customers who uses this product to transfer highly sensitive data.
Throughout the first week of testing, I identified a few minor security configuration issues, but nothing severe.
Along the way, I spent a lot of time just understanding the tool and its hidden functionalities. That’s when I noticed a file-upload feature that lets an admin user upload templates used to send emails. Nothing jumped out immediately, but I kept it in the back of my mind while testing other areas.
After the first few days of routine checks, I went back to that template upload feature and started uploading malicious files and unexpected file types. Nothing critical came of it at first, until I discovered that expressions inside the uploaded template were actually being evaluated. That’s where the story really starts.