Is this correct? Should firebug see SSL-protected

2020-07-18 18:30发布

I have enabled SSL and I am doing a jQuery AJAX post request and sending some fields to the server.

When I look at the AJAX post request through firebug under the post parameters I see all the fields in clear text.

So this means I can see the passwords in clear text. Is this normal? I am also looking at it with fiddler and it does not even log this AJAX request(so its like the request was never made).

So is it just because firebug is installed in the browser and can capture it or what?

4条回答
走好不送
2楼-- · 2020-07-18 18:33

ssl enables security when the data moves from browser to web sever. Firebug is a browser plugin, it knows everything in the DOM tree. I think it makes sense for firebug display the input fields and form data.

查看更多
甜甜的少女心
3楼-- · 2020-07-18 18:37

Yes, you can see the field data because FireBug is capturing the requests inside Firefox before they're encrypted. If you inspect the actual network traffic with a protocol analyzer like Wireshark you'll see that it's encrypted.

查看更多
Deceive 欺骗
4楼-- · 2020-07-18 18:37

Off the top of my head I would think that Firebug is showing you exactly what is being sent. Otherwise it would mean that it is somehow decode encoded information.

If you really want to confirm this, use a tool which can capture the web traffic outside of the browser. Tcpdump for example.

查看更多
姐就是有狂的资本
5楼-- · 2020-07-18 18:54

"So this means I can see the passwords in clear text. Is this normal?"

Yup. The data resides on your browser, that is - the user agent, and is captured before it is communicated to the server. Any encryption operation is vulnerable to sniffing at the point at which the value enters the closed system. That's why if your machine is compromised (say, by malware) very little will help.

查看更多
登录 后发表回答