A vulnerability in Android's Wi-Fi Direct functionality has been uncovered by security researchers.