| tiêu đề | baomidou dynamic-datasource 2.5.0+ SpEL Injection |
|---|
| Mô tả | dynamic-datasource evaluates @DS values as SpEL expressions in DsSpelExpressionProcessor#doDetermineDatasource using StandardEvaluationContext and SpelExpressionParser without input restriction. When applications use patterns like @DS("#tenant") and bind tenant from untrusted request input, attacker-controlled expressions can be evaluated at runtime. This enables expression injection and can lead to remote code execution depending on runtime exposure and expression payload. |
|---|
| Nguồn | ⚠️ https://github.com/baomidou/dynamic-datasource/issues/766 |
|---|
| Người dùng | Winegee (UID 96308) |
|---|
| Đệ trình | 07/04/2026 09:39 (cách đây 6 các tháng) |
|---|
| Kiểm duyệt | 25/04/2026 18:10 (18 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 359624 [baomidou dynamic-datasource 2.5.0 StandardEvaluationContext/SpelExpressionParser DsSpelExpressionProcessor.java DsSpelExpressionProcessor#doDetermineDatasource nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|