Skip to content

Commit 36cf101

Browse files
ahmed-farid-devsmowton
authored andcommitted
Update TimingAttackAgainstHeader.ql
1 parent 8e6f76d commit 36cf101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstHeader.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ClientSuppliedIpTokenCheck extends DataFlow::Node {
3434
ma.getMethod().hasName("getHeader") and
3535
ma.getArgument(0).(CompileTimeConstantExpr).getStringValue().toLowerCase() in [
3636
"x-auth-token", "x-csrf-token", "http_x_csrf_token", "x-csrf-param", "x-csrf-header",
37-
"http_x_csrf_token", "x-api-key"
37+
"http_x_csrf_token", "x-api-key", "authorization", "proxy-authorization"
3838
] and
3939
ma = this.asExpr()
4040
)

0 commit comments

Comments
 (0)