TMAegis
Thêm quy tắc cho tdsql

TDSQL

TMA-TDSQL-11.6

Ensure the Gateway Unsafe-Function Denylist Is Configured

Trung bìnhCấp 2Xem xét thủ côngtdsql

Mô tả

The TDSQL Gateway provides an unsafe system function denylist to block the execution of functions that may leak system information or be used for attacks.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

In the OSS management platform (or the Gateway proxy.json) confirm gateway.security.unsafe_sysfunc.openflag = 1 and that gateway.security.unsafe_sysfunc.blacklist lists the dangerous functions your policy requires (e.g. sleep, benchmark, load_file). openflag = 0 or an empty/incomplete denylist is a finding.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Ensure unsafe function interception is enabled and extend the denylist as needed: { "Name": "gateway.security.unsafe_sysfunc.openflag", "value": "1" }

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlgateway
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 11.6 Ensure the Gateway Unsafe-Function Denylist Is Configured