Page MenuHomeVyOS Platform

webproxy: LDAP bind password passed on basic_ldap_auth command line
In progress, HighPublicBUG

Description

The squid LDAP bind password is passed to basic_ldap_auth on its command line.

Location
data/templates/squid/squid.conf.j2:54

Problem
-w "<password>" is visible in /proc/*/cmdline to every user; -W <file> is available and unused.

Impact
Directory service credential disclosed to all local users.

Suggested fix
Write the password to a 0600 file and use -W.

Details

Version
rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)