Authentication Vulnerabilities in OpenBSD
openwall.com
openwall.com
Is there some technical reason OpenBSD doesn't do this?
starting with binary compatibility
with Linux and a lot of legacy stuff
which came from NetBSD and BSD 4.4 lite/BSD 4.3.
You described OpenBSD with that comment.
- Xenocara with rootless privileges as a fork of X
- LibreSSL
- Linux compat going away
- Pledge/Unveil
- Some daemons belonging to ports
- HTTPD/SMTPD and so on as replacement of bloated daemons
- OpenSSH itself
- Retguard
This vulnerability is bad, but pledge
and unveil will have even
more prominent roles in base soon, so even
if you get privs, you can do either nil or just crash because of pledge.
Seriously, how many other people make contributions in areas ranging all the way from number theory to hand-written machine code?
Here's the link to his website: https://cr.yp.to/djb.html
It just goes to show, as a user you can make informed choices in what software to use to reduce your security exposure, but that's not enough. You still need to pay attention to new problems that might pop up. No software is guaranteed to be safe in perpetuity.
Interesting to track who exactly "they" might have been, as many commenters are saying this is uncharacteristic for OpenBSD.
Looking at the patch, the first OpenBSD commit of this file [1] is from 2000 and says "from BSDI" in the commit message, did fork()+execve() at that time, and the BSDI copyright comment says 1995-1997.
Probable to say more recent OpenBSD stuff is likely not written this way, but that they have baggage like this in the tree from earlier times.
[1] https://cvsweb.openbsd.org/src/lib/libc/gen/auth_subr.c?rev=...
edited: make verb plural.
Awesome.
Does this mean OpenBSD will have to update the tagline on their website that says "Only two remote holes in the default install, in a heck of a long time!"?
- Login with no SSH account
- Enable SSH
- Change PF rules
- Change the smtpd config
- Enable radiusd/ldapd without being root
- Running Xenocara's xlock when is not available on servers and I have no permissions
Can you exploit a bare OpenBSD install by default remotely, yes or not?
Everything else is bullshit.
And sshd is, by default:
- not exploitable by this bug
- PF rules are not set for incoming connections
The X issue. By default:
- PF doesn't accept any connection to X ports to
anything not coming from lo0, localhost interface
Smtpd. By default:
- it just listens on localhost
- there is no forwarding
- PF rules aren't enabled
So, no. Still holds.
Worth pointing that Linux has had a rough week as well, this one is pretty bad: https://www.openwall.com/lists/oss-security/2019/12/02/2
Patch your systems.
Added: Just to be clear, this doesn't give any significant access to the system itself through smtpd even if it is configured to be remotely accessible. So not a possible remote hole. Dunno about other stuff.
pass in on egress proto tcp from any to egress port smtp
And maybe another one with submission instead of "smtp".I am not trolling, he was cheered a lot
back in the day, everyone adapted
its config somehow.
Yeah I know, although I don't remember coming across Tavis's config I did live through those heady days of customizing window managers and remember them with fondness. [Although that screenshot has emails dated 2006, which puts it well after that culture had peaked.]
I actually started using fvwm2 again recently on one of my machines, I am not sure why, maybe I had some nostalgia for that time period.
Back in the day I patched dwm and then Surf to enable WebGL among other nice stuff thanks to gobject being brain-damagedly easy.
Nowadays I am too lazy: cwm, tmux, mpg123, mpv+ytdl, vimb/iridium, UBo, Vimium, HTTPS ev, Priv badger, and I call it a day.
Last time I installed CentOS the only port open on the firewall by default with OpenSSH after all.
This OBSD bug is externally exploitable.
Why did you single out an obscure Linux bug? There are quite a few other OSs available apart from OBSD.
Still sucks for those of us who, you know, actually use smtpd on OpenBSD as a mail server. Thankfully it's just my personal one and I can afford to comment out the line(s) that actually enable outbound SMTP relaying, but still.
In case syspatch doesn't appear to do anything, check your /etc/updateurl, set it to the OpenBSD CDN, then run again.
“this vulnerability is remotely exploitable in smtpd, ldapd, and radiusd, but its real-world impact should be studied on a case-by-case basis. For example, sshd is not exploitable thanks to its defense-in-depth mechanisms.”
Edit: formatting.
Kudos to the OpenBSD folks for getting a patch whipped up so quick, and thankfully SSH ain't affected, but Jesus.
Also is this going to increment the "X remote vulnerabilities in X years"?
Also no ldapd and radiusd is listening by default, and SSHD is secure by itself. And you are asked in the first install if you want to enable it at boot, btw.
[1]http://seclab.cs.ucdavis.edu/projects/testing/vulner/18.html
[2]https://www.symantec.com/security_response/attacksignatures/...
(The second vuln listed is less sexy but escalates you to a real group.)
But it was close :)
Most servers will not install Xenocara at all in order to avoid
most security and space issues, as a lot of them now are using
vmm(4) for testing purposes.
Also as xlock moved upsteeam, OpenBSD will stop importing xlock
and maybe the will implement a patched and pledge(4)d slock (with
some features such as passwd display as asterisks) as the
Xenocara's workstation locker.
If would not be weird at all. Today the default wm is FVWM because
of historical respect to BSD's/Unix, but the most common WM used
by OpenBSD fans is, by far, CWM, which came from evilwm.
As Xenocara was already a fork of X, having a patched slock as
"xenolock" would be the next logical step.
Because xlock(4) is a shitty security fest by itself. Not to
blame the OpenBSD developers, but the main project. It's full of
features and slock matches better the OpenBSD's philosophy.
Even mgba got patched.
I woudn't call that as "don't use it for anything".
OpenBSD Amsterdam (A well known provider in the circle of OpenBSD users) doesn't enable X by default on its autoinstall file:
https://openbsd.amsterdam/setup.html
EDIT: It enables xbase.tgz but not the rest.
They've even threatened to make just one big set since too many people are not installing all of them and then come ask for help .