Re:1Password sends your password in clear text across the lo...
by tptacek on Wednesday March 02, 2016 @02:27PM
(#11212303)
Your system is misconfigured.
> $ tcpdump -i lo0 -s 65535 -w info.pcap
tcpdump: lo0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied)
Re:1Password sends your password in clear text across the lo...
by eclipxe on Wednesday March 02, 2016 @02:41PM
(#11212411)
I'm on OS X 10.11.3:
tcpdump -i lo0 -s 65535 -w info.pcap tcpdump: lo0: You don't have permission to capture on that device ((cannot open BPF device) /dev/bpf0: Permission denied)
Re:1Password sends your password in clear text across the lo...
by tonywebster on Wednesday March 02, 2016 @02:31PM
(#11212338)
This is a fresh OS X install on a test machine :/
Re:1Password sends your password in clear text across the lo...
by tptacek on Wednesday March 02, 2016 @02:32PM
(#11212348)
I don't know what to tell you. Normal users can't tcpdump loopback on OSX, or anywhere else.
> $ ls -l /dev/bpf*
crw------- 1 root wheel 23, 0 Feb 29 07:59 /dev/bpf0
crw------- 1 root wheel 23, 1 Feb 29 07:59 /dev/bpf1
crw------- 1 root wheel 23, 2 Mar 2 11:11 /dev/bpf2
crw------- 1 root wheel 23, 3 Mar 2 10:07 /dev/bpf3
crw------- 1 root wheel 23, 4 Feb 29 08:11 /dev/bpf4
Re:1Password sends your password in clear text across the lo...
by tshtf on Wednesday March 02, 2016 @02:37PM
(#11212392)
Works for me too on OS X. sudo is not needed to run tcpdump for any interfaces.
$ ls -l /dev/bpf*
crw-rw---- 1 root access_bpf 23, 0 Mar 1 09:18 /dev/bpf0
Edit: Wireshark is installed
Re:1Password sends your password in clear text across the lo...
by tptacek on Wednesday March 02, 2016 @02:37PM
(#11212393)
Did you install Wireshark? Did you let it reconfigure your system? Is your current user in the "access_bpf" group?
Later
Yes. Your system is misconfigured. Don't let Wireshark do that.
Re:1Password sends your password in clear text across the lo...
by pvg on Thursday March 03, 2016 @02:17AM
(#11215482)
It looks like Wireshark will happily keep your system permanently misconfigured. To fix it, disable
/Library/LaunchDaemons/org.wireshark.ChmodBPF.plist
This actually seems like a much crummier thing than the 1Password non-thing.
Re:1Password sends your password in clear text across the lo...
by msbarnett on Wednesday March 02, 2016 @02:32PM
(#11212347)
$ tcpdump -i lo0 -s 65535 -w info.pcap
tcpdump: lo0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied)
Looks like you're logged in on a superuser account or have otherwise somehow disable some security settings.
Re:1Password sends your password in clear text across the lo...
by yborg on Wednesday March 02, 2016 @02:45PM
(#11212430)
I also can't access loopback on 10.11.3, I get this exact error. And I'm running as an Administrator account.
Re:1Password sends your password in clear text across the lo...
by msbarnett on Wednesday March 02, 2016 @02:49PM
(#11212477)
Yeah, it's that they installed Wireshark, and gave it privileges to chown the loopback interfaces.
edit: Irony here is that Wireshark is doing something far more dangerous than 1password.
Re:1Password sends your password in clear text across the lo...
by jlgaddis on Wednesday March 02, 2016 @03:28PM
(#11212762)
It's either a) change the group on the /dev/bpf entries and add your user to that group or b) run Wireshark as root.
Re:1Password sends your password in clear text across the lo...
by msbarnett on Wednesday March 02, 2016 @03:42PM
(#11212858)
b) would in general be a lot safer, in that you're elevating one process rather than lowering a privileged interface so that every process you run can sniff it.
Re:1Password sends your password in clear text across the lo...
by julie78787 on Wednesday March 02, 2016 @04:23PM
(#11213123)
Correct - Least Privilege says you do the absolute least you need to do in order to make things work, so that any errors are limited to that one part of the system.
What's been done here by Wireshark isn't least privilege, or secure. Its like the opposite of least privilege and security.
Re:1Password sends your password in clear text across the lo...
by lttlrck on Wednesday March 02, 2016 @06:52PM
(#11214057)
On Linux you can give an executable admin access to network devices with setcap which narrows it down further. Is the same possible on OS X?
Edit. Actually this is worse than running as root isn't it!
I just tried it, and with Chrome and 1Password, I was able to see my auto-filled bank password in the pcap. So, I presume any process on my system, without root privileges, would be able to sniff loopback.
I don't see why 1Password wouldn't use TLS here. This is not good.