Description (CNA)
FastBee through 2.1.0 contains an insecure direct object reference vulnerability in DeviceController that allows authenticated low-privilege users to read and modify other tenants' devices by supplying sequential device IDs. Self-registered attackers can enumerate deviceId or serialNumber values to read owner, IP, and location data, and overwrite user_id and tenant_id to take over devices.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| kerwincui / FastBee | affected 0 through 2.1.0 |
CWE
CWE-639
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/fastbee-device-ownership-idor
- https://github.com/kerwincui/FastBee/blob/v2.1.0/springboot/fastbee-service/fastbee-iot-service/src/main/java/com/fastbee/iot/service/impl/DeviceServiceImpl.java#L105-L125
- https://github.com/kerwincui/FastBee/blob/v2.1.0/springboot/fastbee-open-api/src/main/java/com/fastbee/data/controller/DeviceController.java#L119-L211
- https://github.com/kerwincui/FastBee/blob/v1.2.1/springboot/wumei-iot/src/main/java/com/ruoyi/iot/controller/DeviceController.java#L118-L213
- https://www.vulncheck.com/advisories/fastbee-through-2.1.0-idor-via-devicecontroller-iot-device-endpoints
ADP enrichment
No English description supplied.