MarcJHuber tac_plus-ng
tac_plus-ng before commit d8493e0 Stack-Based Buffer Overflow via packet length checks
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-783
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MarcJHuber tac_plus-ng
- < d8493e0d6420b91737fa34c2cd7bbd365d023b5b
Fixed in d8493e0d6420b91737fa34c2cd7bbd365d023b5b
Mitigation
Upgrade tac_plus-ng to d8493e0d6420b91737fa34c2cd7bbd365d023b5b or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.