If a person "exploits" a situation it means that they realize that they can use it to do something which will be good for them. Very often this also means that it will be bad for other people. So the first person exploits the situation and also exploits the other people.