D
Deleted member 210773
Guest
Critical Samba RCE Vulnerability Enables Arbitrary Code Execution
Samba has disclosed a severe remote code execution (RCE) flaw that could allow attackers to hijack Active Directory domain controllers.
cybersecuritynews.com
(I use as firewall Firewalld)
$ sudo firewall-cmd --remove-port=445/tcp --permanent
[sudo] password for destan:
Warning: NOT_ENABLED: 445:tcp
success
destan@destran ~ $
(I have also removed samba from my Linux OS)
I used the lsof command to list the open ports on the system:
~ $ sudo lsof -i -P -n | grep LISTEN
[sudo] password for destan:
systemd 1 root 36u IPv4 10299 0t0 TCP *:111 (LISTEN)
systemd 1 root 38u IPv6 970 0t0 TCP *:111 (LISTEN)
rpcbind 684 rpc 5u IPv4 10299 0t0 TCP *:111 (LISTEN)
rpcbind 684 rpc 7u IPv6 970 0t0 TCP *:111 (LISTEN)
systemd-r 850 systemd-resolve 12u IPv4 10704 0t0 TCP *:5355 (LISTEN)
systemd-r 850 systemd-resolve 14u IPv6 10712 0t0 TCP *:5355 (LISTEN)
systemd-r 850 systemd-resolve 21u IPv4 10719 0t0 TCP 127.0.0.53:53 (LISTEN)
systemd-r 850 systemd-resolve 23u IPv4 10721 0t0 TCP 127.0.0.54:53 (LISTEN)
cupsd 940 root 6u IPv4 11950 0t0 TCP *:631 (LISTEN)
cupsd 940 root 7u IPv6 11951 0t0 TCP *:631 (LISTEN)
spoofdpi 1083 destan 3u IPv4 12193 0t0 TCP 127.0.0.1:8080 (LISTEN)
python3 1128 wsdd 10u IPv4 13553 0t0 TCP 192.168.1.43:5357 (LISTEN)
python3 1128 wsdd 14u IPv4 19498 0t0 TCP 10.152.235.198:5357 (LISTEN)
python3 1128 wsdd 18u IPv6 13572 0t0 TCP
[fe80::92e6:baff:fe4a:2656]:5357 (LISTEN)
But why is Samba installed and enabled by default in most Linux distributions?
(In the attached screenshot the result of scanning port 127.0.0.1)
Attachments
Last edited by a moderator:

