Description (CNA)
RisingWave before 3.1.0 contains a missing authorization vulnerability that allows low-privileged SQL users to read and write arbitrary server files by creating posix_fs sources and fs sinks. Attackers holding schema CREATE privilege can set posix_fs.root or fs.path to any directory to read credentials and keys or write files as root.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| risingwavelabs / risingwave | affected 0 before 3.1.0 |
CWE
CWE-862
References
- https://github.com/risingwavelabs/risingwave/pull/25971
- https://github.com/risingwavelabs/risingwave/commit/4603a7ea5cc104fa9ca0779bc459bef630e7f621
- https://github.com/risingwavelabs/risingwave/releases/tag/v3.1.0
- https://github.com/risingwavelabs/risingwave/blob/v3.0.5/src/connector/src/source/filesystem/opendal_source/posix_fs_source.rs
- https://github.com/risingwavelabs/risingwave/blob/v3.0.5/src/connector/src/sink/file_sink/fs.rs
- https://github.com/risingwavelabs/risingwave/blob/v3.0.5/src/frontend/src/handler/create_source.rs
- https://www.vulncheck.com/advisories/risingwave-before-3.1.0-missing-authorization-via-posix-fs-and-fs-connectors
ADP enrichment
No English description supplied.
No references supplied.