SV-251251r961158_rule
V-251251
SRG-APP-000251-DB-000392
RD6X-00-012000
CAT II
10
Redis does not rely on a query language and there is no known method of SQL injection that would apply to Redis. Redis is a key value store and relies on commands that do not have a unified query language. Redis has an embedded LUA interpreter that is recommended to disable.
To disable the interpreter run the following REST API command:
curl -v -kL -u "<user>:<password>" --location-trusted -H "Content-type: application/json" -d '{ "disabled_commands": "EVAL, EVALSHA" }' -X PUT https://<URL>:PORT/v1/bdbs/<DB_ID>
Redis does not rely on a query language and there is no known method of SQL injection that would apply to Redis. Redis is a key value store and relies on commands that do not have a unified query language. Redis has an embedded LUA interpreter that is recommended to disable.
Interview the system administrator and ask if the practice of disabling LUA scripting is a documented practice or has been completed. To check if LUA scripting is disabled on the desired database:
1. Connect to one of the nodes/servers in the redis enterprise cluster as an admin (sudo su -).
2. Type: rladmin status to get the DB ID of the database on which LUA scripting is to be disabled.
3. Run the following command, substituting in the bdb_id from the previous step:
ccs-cli hget bdb:<bdb_id>
If the response is NIL or doesn't return EVAL, EVALSHA, this is a finding
If no documentation exists or if the database otherwise accepts LUA scripts, this is a finding.
V-251251
False
RD6X-00-012000
Redis does not rely on a query language and there is no known method of SQL injection that would apply to Redis. Redis is a key value store and relies on commands that do not have a unified query language. Redis has an embedded LUA interpreter that is recommended to disable.
Interview the system administrator and ask if the practice of disabling LUA scripting is a documented practice or has been completed. To check if LUA scripting is disabled on the desired database:
1. Connect to one of the nodes/servers in the redis enterprise cluster as an admin (sudo su -).
2. Type: rladmin status to get the DB ID of the database on which LUA scripting is to be disabled.
3. Run the following command, substituting in the bdb_id from the previous step:
ccs-cli hget bdb:<bdb_id>
If the response is NIL or doesn't return EVAL, EVALSHA, this is a finding
If no documentation exists or if the database otherwise accepts LUA scripts, this is a finding.
M
5443