Description
The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | kamailio | 4.2.0-2 | — |
| Debian 13 | kamailio | 4.2.0-2 | — |
| Debian 12 | kamailio | 4.2.0-2 | — |
References
- [oss-security] 20150212 Re: kamailio: multiple /tmp file vulnerabilities mailing-list
- https://github.com/kamailio/kamailio/issues/48
- https://github.com/kamailio/kamailio/blob/4.3.0/ChangeLog#L2038
- https://github.com/kamailio/kamailio/commit/06177b12936146d48378cc5f6c6e1b157ebd519b
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775681