Description
Solanum before commit 2ce64de contains a heap-based buffer overflow vulnerability that allows a malicious linked server to corrupt memory by sending overlong channel names in JOIN or SJOIN messages. Attackers controlling a peer server can trigger strcpy and sprintf overflows in ms_join and ms_sjoin to crash the ircd or potentially achieve remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| solanum-ircd | solanum | — | — |
References
- https://github.com/solanum-ircd/solanum/pull/551 issue-tracking patch
- https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff patch
- https://github.com/solanum-ircd/solanum/blob/2ea1382e4262b212a91034258c466f0f6754cd61/modules/core/m_join.c#L507 technical-description
- https://github.com/solanum-ircd/solanum/blob/2ea1382e4262b212a91034258c466f0f6754cd61/ircd/channel.c#L371-L385 technical-description
- https://github.com/solanum-ircd/solanum product
- VulnCheck Advisory: Solanum before commit 2ce64de Heap Buffer Overflow via JOIN and SJOIN third-party-advisory