Of course you need men to change their attitudes - the majority of people at the top of the food chain are male, and they’re the ones that make the hiring decisions.
But you are right - it’s not an exclusively male problem, and woman are perfectly capable of discriminating against other women, and do, frequently, and often unconsciously.
In the end society as a whole needs to change how it views women, and how it acts upon those views.