I got a leak in the drain pipe from the kitchen sink. The siphon looks like this:

And this pipe with an accordion goes into the pipe that's in the wall and looks something like this:

More or less, because it's hard to say exactly, because it's practically all inside the wall and you can't see much of it. In any case, it is dripping at the joint of these pipes. It seems that the folded one is simply inserted into the wall and it moves quite freely in it: / There is no strength for me to be able to replace the seal in the one in the wall, because it is behind the cupboard under the sink, and even the end of this pipe is somehow oblique to the plane of the wall and partially enters it. I can only take the accordion out, clean it and, if necessary, stick it with something, if I do not know what ...
Is there anything better than silicone or maybe some other idea to do without calling a plumber?

And this pipe with an accordion goes into the pipe that's in the wall and looks something like this:

More or less, because it's hard to say exactly, because it's practically all inside the wall and you can't see much of it. In any case, it is dripping at the joint of these pipes. It seems that the folded one is simply inserted into the wall and it moves quite freely in it: / There is no strength for me to be able to replace the seal in the one in the wall, because it is behind the cupboard under the sink, and even the end of this pipe is somehow oblique to the plane of the wall and partially enters it. I can only take the accordion out, clean it and, if necessary, stick it with something, if I do not know what ...
Is there anything better than silicone or maybe some other idea to do without calling a plumber?