mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 17:53:27 +08:00
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
id: talk-client
|
|
|
|
info:
|
|
name: Ensure Talk Client is Not Installed
|
|
author: Th3l0newolf
|
|
severity: info
|
|
description: |
|
|
The talk package provides a client for user-to-user messaging on local or remote systems.Since it uses unencrypted communication, it should be removed to minimize security risks.
|
|
remediation: |
|
|
Ensure the talk package is not installed unless explicitly required.To remove the package, run: sudo apt-get remove talk -y
|
|
reference:
|
|
- https://www.cisecurity.org/benchmark/ubuntu_linux
|
|
metadata:
|
|
verified: true
|
|
tags: cis,cisecurity,audit,linux,ubuntu,talk
|
|
|
|
self-contained: true
|
|
|
|
code:
|
|
- engine:
|
|
- bash
|
|
|
|
args:
|
|
- "-c"
|
|
- |
|
|
# Check if the talk package is installed
|
|
if dpkg-query -W -f='${Status}' talk 2>/dev/null | grep -q "install ok installed"; then
|
|
echo "[cis-talk-client-check:Policy-Fail] [talk is installed] [CIS_FAIL]"
|
|
else
|
|
echo "[cis-talk-client-check:Policy-Pass] [talk is not installed] [CIS_PASS]"
|
|
fi
|
|
|
|
matchers:
|
|
- type: word
|
|
name: policy-pass
|
|
words:
|
|
- "Policy-Pass"
|
|
|
|
- type: word
|
|
name: policy-fail
|
|
words:
|
|
- "Policy-Fail"
|
|
# digest: 4b0a00483046022100f602f5cbe06eddec54c168c5b0ef3b2e65c2e30ef77ca3bf2860413a12d3a48a022100f557a510e13895f92ff35374440e29890012f107ac11de36c8cb7c8fd3a22616:922c64590222798bb761d5b6d8e72950 |