tac_plus-ng code execution in TACACS+ packet processing
MarcJHuber tac_plus-ng
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MarcJHuber tac_plus-ng |
| No fix yet |
Original description
tac_plus-ng before commit d8493e0 contains a stack-based buffer overflow vulnerability that allows clients holding the TACACS+ shared key to overflow a stack buffer due to an operator precedence error in author_pak_looks_bogus() and accounting_pak_looks_bogus(). Attackers can send packets whose argument-length table exceeds the payload, causing eval_args() to read past the packet and memcpy() oversized cmd values into cmdline, crashing the daemon or executing code.
From the CVE record · VulnCheck