Description
DataRoom through 3.0.0 contains an sql injection vulnerability in MyBatisService.generateSql that allows sharer-role users to inject SQL by supplying crafted dataset parameters. Attackers can send crafted inputParam values to /dataRoom/dataset/run, exploiting unquoted string parameters or MySQL backslash escapes, to execute injected SQL against the database.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gcpaas | DataRoom | ≤ 3.0.0 | — |
References
- GitHub Issue #25 issue-tracking
- https://github.com/gcpaas/DataRoom product
- https://github.com/gcpaas/DataRoom/blob/3.0.0/dataRoomServer/src/main/java/com/gccloud/gcpaas/dataroom/core/dataset/service/MyBatisService.java#L38-L66 technical-description
- https://github.com/gcpaas/DataRoom/commit/d155312b23a91e39e5e934e3e2d2deede650b92b patch
- VulnCheck Advisory: DataRoom through 3.0.0 SQL Injection via MyBatisService.generateSql third-party-advisory