Update TimingAttackAgainstHeader.ql

This commit is contained in:
Ahmed Farid
2022-02-21 13:05:48 +01:00
committed by Chris Smowton
parent 19d0e1f4a7
commit fa8af6bf70

View File

@@ -34,7 +34,7 @@ class ClientSuppliedIpTokenCheck extends DataFlow::Node {
ma.getMethod().hasName("getHeader") and
ma.getArgument(0).(CompileTimeConstantExpr).getStringValue().toLowerCase() in [
"x-auth-token", "x-csrf-token", "http_x_csrf_token", "x-csrf-param", "x-csrf-header",
"http_x_csrf_token"
"http_x_csrf_token", "x-api-key"
] and
ma = this.asExpr()
)