Browse Source

CVE-2018-14767

4.1
lazedo 7 years ago
committed by Luis Azedo
parent
commit
44f4feb156
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      kamailio/default.cfg

+ 6
- 0
kamailio/default.cfg View File

@ -377,6 +377,12 @@ route[CHECK_RETRANS]
route[SANITY_CHECK]
{
## CVE-2018-14767
if($(hdr(To)[1]) != $null) {
xlog("second To header not null - dropping message");
drop;
}
if (!sanity_check()) {
xlog("L_WARN", "$ci|end|message from $si:$sp is insane\n");
exit;


Loading…
Cancel
Save