Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49feeb1 commit ab6a7bbCopy full SHA for ab6a7bb
1 file changed
java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstHeader.ql
@@ -1,3 +1,17 @@
1
+/**
2
+ * @name Timing attack against headers value
3
+ * @description A constant-time algorithm should be used for checking the value of headers.
4
+ * In other words, the comparison time should not depend on the content of the input
5
+ * Otherwise, an attacker may be able to implement a timing attacks that may reveal the value of sensitive headers
6
+ * @kind path-problem
7
+ * @problem.severity error
8
+ * @precision high
9
+ * @id java/timing-attack-against-headers-value
10
+ * @tags security
11
+ * external/cwe/cwe-208
12
+ */
13
+
14
15
import java
16
import semmle.code.java.dataflow.FlowSources
17
import semmle.code.java.dataflow.TaintTracking
0 commit comments