Description
BISHENG through 3.0.0-beta4 contains an insecure direct object reference vulnerability that allows authenticated low-privileged users to read other users' parsed documents by supplying arbitrary file_id values. Attackers can enumerate sequential file ids against GET /api/v1/knowledge/file_bbox to retrieve extracted page text from other users' and tenants' knowledge bases.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dataelement | bisheng | ≤ 3.0.0-beta4 | — |
References
- https://hackmd.io/@hieuPenguinnn/bisheng-knowledge-file-bbox-cross-user-idor third-party-advisory
- https://github.com/dataelement/bisheng/blob/v3.0.0-beta4/src/backend/bisheng/knowledge/api/endpoints/knowledge.py#L663-L670 technical-description
- https://github.com/dataelement/bisheng/blob/v3.0.0-beta4/src/backend/bisheng/knowledge/domain/services/knowledge_service.py#L2523-L2533 technical-description
- https://github.com/dataelement/bisheng product
- VulnCheck Advisory: BISHENG through 3.0.0-beta4 IDOR via /api/v1/knowledge/file_bbox third-party-advisory