You can use expressions such as What does she know? and What do they know? when you think that someone has no right to comment on a situation because they do not understand it.
[disapproval] Don't listen to him, what does he know? [+ about]
I always felt his attitude was, 'What do you know about it?'