My Adventures Hacking the iParcelBox
The iParcelBox smart parcel box leaked admin credentials, a GitHub token and firmware URLs through public forum posts and a boot log, and its AWS Cognito credentials allowed reading any device's DynamoDB record. An attacker knowing only a device's MAC address could take ownership of any iParcelBox or unlock it remotely via MQTT RPC commands.
mcafee.com
Published on mcafee.com
In 2019, McAfee Advanced Threat Research (ATR) disclosed a vulnerability in a product called BoxLock. Sometime after this, the CEO of iParcelBox, a U.K. company, reached out to us and offered to send a few of their products to test.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the cloud database was queried directly by the mobile app with broad Cognito permissions, and device identity was based on a guessable MAC address rather than per-device authorisation.
Impact
An attacker who knew a device's MAC address could unlock the box, steal the owner's home WiFi credentials, or take full ownership of any iParcelBox; the text notes the MQTT script itself did not send or receive messages, so the cross-device control relied on the RPC-over-MQTT route.
What the attacker needed
Target device's MAC address; leaked admin credentials; device in setup mode for RPC; extracted AWS certificate and key
The fix
The vendor rotated every device's admin password, changed Mongoose-OS so one device's certificate cannot control another, added certificate pinning, and wrapped DynamoDB access in API calls that check the customer ID; the text says this was patched and tested.
How it was found
- Search public forums and find posts by an iParcelBox developer revealing the platform and boot logs.
- Extract admin credentials, a GitHub token and a firmware URL from the posted boot log.
- Connect to the device's setup access point and use the leaked admin credentials with Mongoose-OS RPC commands.
- Enable UDP logging to capture MQTT topic formats and confirm the AWS IoT broker setup.
- Use the extracted AWS certificate and key to run RPC commands over MQTT against other devices by MAC address.
- Capture Cognito credentials from the Android app and query DynamoDB for any device's password and serial number.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The parcel box talks to its maker's cloud service, and the app gets temporary cloud passwords (called credentials) to do that. Those passwords were allowed to read the records of every customer's box, not just your own, and the box's unique hardware address (MAC address) was enough to find that record. With the record's details a stranger could register the box as their own or send it an unlock command.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.