Erik Krogh Kristensen
|
ff73dbc35c
|
delete redundant imports
|
2022-04-22 12:55:28 +02:00 |
|
Erik Krogh Kristensen
|
ff5b873557
|
Merge pull request #8773 from erik-krogh/exhaustion
JS: promote `js/resource-exhaustion` out of experimental
|
2022-04-20 19:33:42 +02:00 |
|
Erik Krogh Kristensen
|
10130eef6d
|
Merge pull request #8678 from erik-krogh/fileSource
JS: Add files as a source for `js/xss-through-dom`
|
2022-04-20 09:18:38 +02:00 |
|
Stephan Brandauer
|
2fb3147b7b
|
Merge pull request #8430 from kaeluka/js/CVE-2022-24718
JS: Add taint step for handlebars model
|
2022-04-19 15:57:58 +01:00 |
|
Erik Krogh Kristensen
|
8669bbd948
|
update expected output of rate-limit query after test reorg
|
2022-04-19 14:27:24 +02:00 |
|
Erik Krogh Kristensen
|
4c97f68a3d
|
remove postmessage events as source for js/resource-exhaustion
|
2022-04-13 23:14:42 +02:00 |
|
Erik Krogh Kristensen
|
51a0b6d501
|
remove client-side remote-flow from js/resource-exhaustion
|
2022-04-13 23:05:59 +02:00 |
|
Erik Krogh Kristensen
|
a9595af01e
|
update expected output
|
2022-04-13 09:43:21 +02:00 |
|
Erik Krogh Kristensen
|
dd28157d0a
|
add test of a length check
|
2022-04-13 09:43:21 +02:00 |
|
Erik Krogh Kristensen
|
8e47a9b242
|
add sanitizer step for .length in js/resource-exhaustion
|
2022-04-13 09:30:09 +02:00 |
|
Stephan Brandauer
|
fb66ccff39
|
handlebars taint step: conservatively assume unknown templates have no flow to helpers
|
2022-04-13 09:27:59 +02:00 |
|
Erik Krogh Kristensen
|
ebf9ba7250
|
remove the type-overloaded new Buffer() as a sink
|
2022-04-12 16:29:58 +02:00 |
|
Erik Krogh Kristensen
|
e2b7f7d05d
|
reintroduce the number sinks
|
2022-04-12 16:26:10 +02:00 |
|
Erik Krogh Kristensen
|
029459cc35
|
reorganize CWE-770 tests
|
2022-04-12 16:15:40 +02:00 |
|
Erik Krogh Kristensen
|
8fb54c3f32
|
move js/resource-exhaustion out of experimental
|
2022-04-12 15:51:36 +02:00 |
|
Asger Feldthaus
|
b85739cb7e
|
JS: Update test output
|
2022-04-07 13:23:26 +02:00 |
|
Asger Feldthaus
|
4eda6f643f
|
JS: Recognize subclasses of HTMLElement in domValueRef
|
2022-04-07 09:57:31 +02:00 |
|
Asger Feldthaus
|
cff8dc0537
|
JS: Improve flow through Array.prototype.reduce
|
2022-04-07 09:57:31 +02:00 |
|
Erik Krogh Kristensen
|
0435cee57f
|
add a taint-step through URL.createObjectURL for js/xss-through-dom
|
2022-04-06 12:18:47 +02:00 |
|
Erik Krogh Kristensen
|
b11d48e749
|
add files in the DOM as a source for js/xss-through-dom
|
2022-04-06 12:09:07 +02:00 |
|
Asger Feldthaus
|
75a84378ac
|
JS: Do not generate def-nodes for decorated parameters
|
2022-03-29 16:13:45 +02:00 |
|
Asger Feldthaus
|
ca145f21b0
|
JS: Add test showing why parameter-sinks wont actually work well in JS
|
2022-03-29 16:06:53 +02:00 |
|
Asger Feldthaus
|
3bcfca421f
|
JS: Add test case for decorated parameter sinks
|
2022-03-29 15:55:43 +02:00 |
|
Stephan Brandauer
|
9c3fcb6268
|
precise tracking of handlebars arguments
|
2022-03-28 17:26:43 +02:00 |
|
Asger Feldthaus
|
cf596a1856
|
JS: Add decorator edges in API graphs and corresponding MaD tokens
|
2022-03-28 15:34:40 +02:00 |
|
Asger F
|
e5f2b830f3
|
Merge pull request #8577 from asgerf/fix-mad-warning
JS/Ruby: Fix regexp in MaD checking
|
2022-03-28 15:29:16 +02:00 |
|
Asger F
|
f22df765ed
|
Merge pull request #8533 from asgerf/mad-receiver-token
JS/Ruby: Represent non-positional arguments with Argument/Parameter tokens
|
2022-03-28 15:28:52 +02:00 |
|
Asger Feldthaus
|
7e6206ed36
|
JS: Fix the regexp for valid MaD token arguments
|
2022-03-28 12:43:43 +02:00 |
|
Erik Krogh Kristensen
|
cf94c93b1a
|
Merge pull request #8481 from erik-krogh/schemeChain
JS: recognize string replacement chains as scheme checks in js/incomplete-url-scheme-check
|
2022-03-25 11:13:10 +01:00 |
|
Stephan Brandauer
|
a28e9c5b6e
|
documentation for handlebars.js flow step
|
2022-03-24 13:08:52 +01:00 |
|
Stephan Brandauer
|
0bd9e9f298
|
add handlebars taint step
|
2022-03-24 11:46:16 +01:00 |
|
Asger Feldthaus
|
b0b795dbbb
|
JS: Autoformat
|
2022-03-23 19:15:01 +01:00 |
|
Asger Feldthaus
|
95122b2b6c
|
JS: Support Argument[this] token
|
2022-03-23 18:06:12 +01:00 |
|
Asger Feldthaus
|
d476f976fe
|
JS: Support Parameter[this] token
|
2022-03-23 18:06:12 +01:00 |
|
Asger Feldthaus
|
59d5c54432
|
JS: Update test output from knex
|
2022-03-23 10:42:51 +01:00 |
|
Asger Feldthaus
|
6bef5a70b3
|
JS: Add dedicated API graph label for receiver, instead of parameter -1
|
2022-03-23 10:42:51 +01:00 |
|
Erik Krogh Kristensen
|
c8385a1e80
|
js/xss-through-dom: filter away reads of .src that end in a URL sink
|
2022-03-21 16:48:59 +01:00 |
|
CodeQL CI
|
b04c46f96d
|
Merge pull request #8478 from asgerf/js/store-load-flow-context-sensitivity-bug
Approved by erik-krogh
|
2022-03-21 08:54:51 +00:00 |
|
Arthur Baars
|
431b60506e
|
Merge remote-tracking branch 'upstream/main' into incomplete-hostname
|
2022-03-18 13:05:34 +01:00 |
|
Erik Krogh Kristensen
|
693c77f3df
|
add test for string replacement chains of URL schemes
|
2022-03-18 11:05:59 +01:00 |
|
Asger F
|
929419abba
|
Merge pull request #8254 from asgerf/ruby/mad-prototype
Ruby: initial prototype of models-as-data
|
2022-03-18 10:48:33 +01:00 |
|
Asger Feldthaus
|
8753632193
|
JS: Fix bug in reachableFromStoreBase
|
2022-03-17 17:30:46 +01:00 |
|
Asger Feldthaus
|
8c6ca6582e
|
JS: Add test showing missing flow
|
2022-03-17 17:30:46 +01:00 |
|
Erik Krogh Kristensen
|
6cdc38748c
|
update expected output
|
2022-03-16 22:32:09 +01:00 |
|
Erik Krogh Kristensen
|
d8a5947a08
|
simplify TaintedUrlSuffix::source() to only consider window.location based sources
|
2022-03-16 22:32:09 +01:00 |
|
Erik Krogh Kristensen
|
f083e87fa1
|
refactor the js/xss query to use three flowlabels and one configuration
|
2022-03-16 22:32:08 +01:00 |
|
Erik Krogh Kristensen
|
87842bb8b7
|
add client-side-url sinks that may execute JavaScript as XSS sinks
|
2022-03-16 22:32:08 +01:00 |
|
Erik Krogh Kristensen
|
b471fec149
|
split interpretsArgumentsAsURL out of interpretsArgumentsAsHTML, and use it to generalize AttributeUrlSink
|
2022-03-16 22:32:08 +01:00 |
|
Erik Krogh Kristensen
|
fc79242674
|
add tests
|
2022-03-16 22:32:08 +01:00 |
|
Asger F
|
228570129e
|
Merge branch 'main' into ruby/mad-prototype
|
2022-03-16 13:50:31 +01:00 |
|