Below error message received in Vulnerability Scan Report suggests Redis server security is compromised.
"The Redis server running on env-xxxxxxxxxx (xx.xxx.xxx.xxx) is not protected by password authentication. A remote attacker can exploit this to gain unauthorized access to the server. Please enable the 'requirepass' directive in the redis.conf configuration file."
Corresponding link below provides the vulnerability description and suggested fix:
Error: Redis Server Unprotected by Password Authentication Vulnerability details:
https://www.tenable.com/plugins/nessus/100634
Solution: Enable the 'requirepass' directive in the redis.conf configuration file.
Enable the 'requirepass’ by updating the redis.cong from # requirepass foobared to requirepass myRedis , but Platform Analytics Health Check failed for Redis as shown below:
[mstr@xxxxxx Redis]$ ./redis.sh status Redis is running.
************************** Health Check Summary *********************************
Platform Analytics Warehouse PASS
Platform Analytics Redis Server FAIL
Platform Analytics Kafka Cluster PASS
After adding the "requirepass" parameter in redis.conf, password need to be encrypted using the encryptor tool and add it to the PAConsumerConfig.yaml file for the Consumer to be able to authenticate to Redis.
Refer to steps below to encrypt the password:
./platform-analytics-consumer.sh stop
./platform-analytics-usher-lookup-producer.sh stop
[user@your-PA-machine bin]#./platform-analytics-encryptor.sh
example:
redisPassword: c5eoCdW023nqmME9Nl2ZBntw5MdvBZEOQLd9zD6xVWSx3UjE,EnrazzMgibZDpHD
./platform-analytics-consumer.sh start./platform-analytics-usher-lookup-producer.sh start