├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # Autofill Phishing 2 | 3 | # Try it yourself! 4 | [https://autofill-danger-1.netlify.app](https://autofill-danger-1.netlify.app) 5 | 6 | ## PoC Video 7 | https://www.instagram.com/reel/C9DTe87OrTH/ 8 | 9 | ## Overview 10 | 11 | This repo demonstrates an autofill phishing vulnerability in modern day browsers. It highlights how even the latest browsers might be susceptible to this type of basic attack, which has been around for around 8 years. 12 | 13 | ## Why This Attack Works 14 | 15 | Many modern day web browsers offer autofill features to enhance user convenience by automatically filling in form fields with saved data. However, this convenience can be exploited due to: 16 | 17 | - Attackers can hide input fields on a webpage, which get autofilled without the users knowledge. 18 | - Users often trust autofill to only populate visible fields, unaware that hidden fields can also be filled. 19 | 20 | ## How This Attack Works 21 | 22 | This attack exploits the autofill feature of browsers. Here are the key steps involved: 23 | 24 | 1. **Crafted Web Form**: The attacker creates a web form with visible and hidden input fields. 25 | 2. **User Interaction**: The user visits the malicious website and interacts with the visible form fields. 26 | 3. **Autofill Trigger**: The browser's autofill feature automatically populates both visible and hidden fields with saved user data. 27 | 4. **Extraction**: The hidden fields capture sensitive information without the user’s knowledge, which is then sent to the attacker. 28 | 29 | ## Photo 30 | 31 | ![image](https://github.com/0dayCTF/Autofill_Danger/assets/44453666/ab888f01-8413-4553-a413-73b75751adca) 32 | 33 | 34 | _Inspired by Viljami Kuosmanen - https://github.com/anttiviljami/browser-autofill-phishing_ 35 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Autofill Phishing 5 | 6 | 47 | 48 | 59 | 60 | 61 |
62 |

Autofill Danger!

63 |
64 |
65 | 66 | 67 |
68 |
69 | 70 | 71 |
72 |
73 | 74 |
75 |
76 | 77 |
78 |
79 | 80 |
81 |
82 | 83 |
84 |
85 | 86 |
87 |
88 | 89 |
90 |
91 | 92 |
93 |
94 | 98 |
99 |
100 | 101 |
102 |
103 | 107 | 110 |
111 |
112 | 113 |
114 |
115 |
116 | 117 | 135 | 136 | 137 | 138 | 139 | 170 | 171 | 172 | 173 | --------------------------------------------------------------------------------