Skip to content

Conversation

@toddr
Copy link

@toddr toddr commented Jan 8, 2019

…m creating spam tunnels.

In the past, we have seen some instances of malicious users creating local SSH tunnels to send out spam email - They could also use tunnels to commit abusive behavior overall, for example, a user could technically create a ssh tunnel between a few different hacked servers for brute force attacks.

This patch checks sshd_config (Tested against C7 + 11.66) and looks for X11Forwarding being set to yes, which implies default configuration (stock C7 enables all 3 methods of forwarding by default)

…m creating spam tunnels.

In the past, we have seen some instances of malicious users creating local SSH tunnels to send out spam email - They could also use tunnels to commit abusive behavior overall, for example, a user could technically create a ssh tunnel between a few different hacked servers for brute force attacks.

This patch checks sshd_config (Tested against C7 + 11.66) and looks for X11Forwarding being set to yes, which implies default configuration (stock C7 enables all 3 methods of forwarding by default)
@toddr
Copy link
Author

toddr commented Jan 9, 2019

CPANEL-15495

@ColMelvin
Copy link

From the description, it sounds like we are more interested in AllowTcpForwarding than any of the other entries. Why not check for that one specifically?

Note: it has many valid values: yes (the default), no, remote, & local.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants