OpenBSD's sppp_pap_input function used attacker-controlled length fields as the bcmp comparison length for credential validation. Sending zero-length name and password fields caused bcmp to return 0 unconditionally, bypassing PAP authentication entirely. The vulnerability was introduced in 1999 and survived for 27 years before being fixed.
A 27-Year-Old Authentication Bypass in OpenBSD's PPP Stack
Submitted 1 week ago by
CiotBSD@billboard.bsd.cafe to openbsd@billboard.bsd.cafe
https://billboard.bsd.cafe/topic/254/a-27-year-old-authentication-bypass-in-openbsd-s-ppp-stack
I assume that FreeBSD is not affected.
Surely (!?)
But I dont known! 😉