Skip to content

Commit f973ff1

Browse files
committed
Add some lines to Exploit Detection and Mitigation
1 parent 3a1a437 commit f973ff1

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

documentation/modules/exploit/linux/http/rancher_server.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,26 @@ Architecture : x64
138138
Meterpreter : x64/linux
139139
meterpreter >
140140
```
141+
## Exploit Detection
142+
Rancher Server has an [audit log][7]. While running this module two
143+
events (create and delete) were logged. Even though the container is
144+
deleted, its still able to be viewed from the link in the audit log.
145+
146+
## Mitigation
147+
* Do not deploy a Rancher Host on the same host where the Rancher
148+
Server is. Your entire rancher infrastructure is in [danger][8].
149+
* Only allow trusted users to have more permissions than read-only.
150+
151+
Docker protection such as Username Namespaces could not be applied
152+
because Rancher Agents run as a privileged container.
153+
141154

142155
[1]:https://www.debian.org/releases/stretch/amd64/index.html.en
143156
[2]:https://docs.docker.com/engine/installation/linux/docker-ce/debian/
144-
[3]:http://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/#launching-rancher-server---single-container-non-ha
145-
[4]:http://rancher.com/docs/rancher/v1.6/en/hosts/#adding-a-host
146-
[5]:http://rancher.com/docs/rancher/v1.6/en/api/v2-beta/api-keys/
147-
[6]:http://rancher.com/docs/rancher/v1.6/en/environments/#membership-roles
157+
[3]:https://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/#launching-rancher-server---single-container-non-ha
158+
[4]:https://rancher.com/docs/rancher/v1.6/en/hosts/#adding-a-host
159+
[5]:https://rancher.com/docs/rancher/v1.6/en/api/v2-beta/api-keys/
160+
[6]:https://rancher.com/docs/rancher/v1.6/en/environments/#membership-roles
161+
[7]:https://rancher.com/docs/rancher/v1.6/en/rancher-services/audit-log/
162+
[8]:https://rancher.com/docs/rancher/v1.6/en/faqs/troubleshooting/#help-i-turned-on-access-controldocsrancherv16enconfigurationaccess-control-and-can-no-longer-access-rancher-how-do-i-reset-rancher-to-disable-access-control
163+
[9]:https://rancher.com/docs/rancher/v1.6/en/installing-rancher/selinux/

0 commit comments

Comments
 (0)