This is the outlet pipe to our shower from a concealed thermostatic valve. We've put up with this for about 10 years!
For some reason there is a flexible hose, so no mechanical fixing for the outlet plate. The plumber filled it with silicon but it came obviously loose, nothing to grip on...