How 1 Exposed Honeywell API Gave us Control Over an Internal Engineering System
The users API endpoint lacked authentication, allowing anyone to list all users. The same API also allowed a regular user to update other users, including an old test user, enabling privilege escalation to super administrator and full control over the internal engineering system.
Developers are increasingly turning to APIs as a mechanism to expose and consume data for their web applications. APIs enable users to rapidly develop their web applications while supporting many different user-agents, but properly implementing access control across all workflows can be challenging.
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
Impact
An attacker could gain complete control over the entire system, accessing projects of every company and all sensitive information inside.
What the attacker needed
A free Honeywell ID; access to the BEDQ website
The fix
The vulnerability was fixed by Honeywell, as confirmed in the timeline.
How it was found
- Register a Honeywell ID on a different Honeywell website.
- Log in to the BEDQ website with that ID.
- View the source code of the Angular application to find API endpoints.
- Send an unauthenticated GET request to the users API to retrieve all users.
- Identify an old test user and note that the API allows updating other users.
- Send a PUT request to update the test user with super administrator privileges, then log in again to gain full access.
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.
An API is a way for software to talk to other software. Here, one part of the website let anyone see a list of all users without logging in. Another part let a normal user change other people's details, so the researchers changed a test account to become an administrator and gained full access.
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.