Browse Source

CVE-2018-14767

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

+ 6
- 0
kamailio/default.cfg View File

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


Loading…
Cancel
Save