HSTS missing header vulnerability detection#5520
Merged
Merged
Conversation
smola
reviewed
Jul 4, 2023
This comment has been minimized.
This comment has been minimized.
DDJavierSantos
marked this pull request as ready for review
July 7, 2023 07:39
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
from
July 10, 2023 07:48
6c8e164 to
db5151c
Compare
smola
reviewed
Jul 10, 2023
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
from
July 11, 2023 16:11
db5151c to
c3bb107
Compare
smola
requested changes
Jul 13, 2023
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
2 times, most recently
from
July 31, 2023 08:52
074fc49 to
0d4ee5c
Compare
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
from
August 2, 2023 07:42
270459b to
ec3ff11
Compare
manuel-alvarez-alvarez
approved these changes
Aug 7, 2023
manuel-alvarez-alvarez
self-requested a review
August 7, 2023 18:40
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
from
August 8, 2023 15:36
dfc1495 to
df424a7
Compare
manuel-alvarez-alvarez
approved these changes
Aug 8, 2023
This comment has been minimized.
This comment has been minimized.
smola
requested changes
Aug 9, 2023
smola
left a comment
Member
There was a problem hiding this comment.
One small change, then good to go.
DDJavierSantos
force-pushed
the
jsantos/hsts_vulnerability
branch
from
August 9, 2023 09:27
a965cb6 to
ef4a679
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 61 cases.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (993.959 ms) : 0, 993959
Total [baseline] (9.229 s) : 0, 9228959
Agent [candidate] (984.74 ms) : 0, 984740
Total [candidate] (9.221 s) : 0, 9221445
section appsec
Agent [baseline] (1.078 s) : 0, 1077673
Total [baseline] (9.352 s) : 0, 9351863
Agent [candidate] (1.069 s) : 0, 1068597
Total [candidate] (9.214 s) : 0, 9214227
section iast
Agent [baseline] (1.087 s) : 0, 1087050
Total [baseline] (9.447 s) : 0, 9447180
Agent [candidate] (1.086 s) : 0, 1086472
Total [candidate] (9.397 s) : 0, 9397035
section profiling
Agent [baseline] (1.157 s) : 0, 1156742
Total [baseline] (9.484 s) : 0, 9483903
Agent [candidate] (1.161 s) : 0, 1161199
Total [candidate] (9.487 s) : 0, 9487326
gantt
title petclinic - break down per module: candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (615.674 ms) : 0, 615674
BytebuddyAgent [candidate] (609.864 ms) : 0, 609864
GlobalTracer [baseline] (286.804 ms) : 0, 286804
GlobalTracer [candidate] (284.408 ms) : 0, 284408
AppSec [baseline] (50.717 ms) : 0, 50717
AppSec [candidate] (50.321 ms) : 0, 50321
Remote Config [baseline] (672.603 µs) : 0, 673
Remote Config [candidate] (669.443 µs) : 0, 669
Telemetry [baseline] (5.514 ms) : 0, 5514
Telemetry [candidate] (5.333 ms) : 0, 5333
section appsec
BytebuddyAgent [baseline] (615.39 ms) : 0, 615390
BytebuddyAgent [candidate] (610.024 ms) : 0, 610024
GlobalTracer [baseline] (286.685 ms) : 0, 286685
GlobalTracer [candidate] (283.393 ms) : 0, 283393
AppSec [baseline] (135.11 ms) : 0, 135110
AppSec [candidate] (135.177 ms) : 0, 135177
Remote Config [baseline] (738.426 µs) : 0, 738
Remote Config [candidate] (727.591 µs) : 0, 728
Telemetry [baseline] (5.203 ms) : 0, 5203
Telemetry [candidate] (5.142 ms) : 0, 5142
section iast
BytebuddyAgent [baseline] (714.367 ms) : 0, 714367
BytebuddyAgent [candidate] (713.065 ms) : 0, 713065
GlobalTracer [baseline] (271.453 ms) : 0, 271453
GlobalTracer [candidate] (271.557 ms) : 0, 271557
AppSec [baseline] (47.339 ms) : 0, 47339
AppSec [candidate] (47.257 ms) : 0, 47257
IAST [baseline] (13.328 ms) : 0, 13328
IAST [candidate] (13.992 ms) : 0, 13992
Remote Config [baseline] (647.536 µs) : 0, 648
Remote Config [candidate] (664.578 µs) : 0, 665
Telemetry [baseline] (5.613 ms) : 0, 5613
Telemetry [candidate] (5.561 ms) : 0, 5561
section profiling
BytebuddyAgent [baseline] (623.35 ms) : 0, 623350
BytebuddyAgent [candidate] (624.125 ms) : 0, 624125
GlobalTracer [baseline] (349.764 ms) : 0, 349764
GlobalTracer [candidate] (351.642 ms) : 0, 351642
AppSec [baseline] (49.302 ms) : 0, 49302
AppSec [candidate] (49.654 ms) : 0, 49654
Remote Config [baseline] (661.35 µs) : 0, 661
Remote Config [candidate] (658.38 µs) : 0, 658
Telemetry [baseline] (5.384 ms) : 0, 5384
Telemetry [candidate] (5.396 ms) : 0, 5396
ProfilingAgent [baseline] (75.495 ms) : 0, 75495
ProfilingAgent [candidate] (76.972 ms) : 0, 76972
Profiling [baseline] (75.519 ms) : 0, 75519
Profiling [candidate] (76.996 ms) : 0, 76996
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.0 s) : 0, 1000327
Total [baseline] (8.701 s) : 0, 8700798
Agent [candidate] (982.686 ms) : 0, 982686
Total [candidate] (8.618 s) : 0, 8618487
section appsec
Agent [baseline] (1.07 s) : 0, 1070328
Total [baseline] (8.721 s) : 0, 8720841
Agent [candidate] (1.079 s) : 0, 1078503
Total [candidate] (8.721 s) : 0, 8720618
section iast
Agent [baseline] (1.092 s) : 0, 1092422
Total [baseline] (9.194 s) : 0, 9194411
Agent [candidate] (1.086 s) : 0, 1086103
Total [candidate] (9.197 s) : 0, 9197119
section profiling
Agent [baseline] (1.155 s) : 0, 1155145
Total [baseline] (8.887 s) : 0, 8886692
Agent [candidate] (1.175 s) : 0, 1174900
Total [candidate] (9.012 s) : 0, 9012180
gantt
title insecure-bank - break down per module: candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (620.395 ms) : 0, 620395
BytebuddyAgent [candidate] (608.445 ms) : 0, 608445
GlobalTracer [baseline] (288.754 ms) : 0, 288754
GlobalTracer [candidate] (284.083 ms) : 0, 284083
AppSec [baseline] (50.128 ms) : 0, 50128
AppSec [candidate] (50.023 ms) : 0, 50023
Remote Config [baseline] (677.245 µs) : 0, 677
Remote Config [candidate] (659.262 µs) : 0, 659
Telemetry [baseline] (5.5 ms) : 0, 5500
Telemetry [candidate] (5.364 ms) : 0, 5364
section appsec
BytebuddyAgent [baseline] (610.431 ms) : 0, 610431
BytebuddyAgent [candidate] (615.225 ms) : 0, 615225
GlobalTracer [baseline] (283.901 ms) : 0, 283901
GlobalTracer [candidate] (287.125 ms) : 0, 287125
AppSec [baseline] (135.798 ms) : 0, 135798
AppSec [candidate] (135.656 ms) : 0, 135656
Remote Config [baseline] (734.895 µs) : 0, 735
Remote Config [candidate] (734.162 µs) : 0, 734
Telemetry [baseline] (5.162 ms) : 0, 5162
Telemetry [candidate] (5.189 ms) : 0, 5189
section iast
BytebuddyAgent [baseline] (718.391 ms) : 0, 718391
BytebuddyAgent [candidate] (713.352 ms) : 0, 713352
GlobalTracer [baseline] (272.605 ms) : 0, 272605
GlobalTracer [candidate] (271.184 ms) : 0, 271184
AppSec [baseline] (47.26 ms) : 0, 47260
AppSec [candidate] (47.12 ms) : 0, 47120
IAST [baseline] (13.444 ms) : 0, 13444
IAST [candidate] (14.0 ms) : 0, 14000
Remote Config [baseline] (657.549 µs) : 0, 658
Remote Config [candidate] (644.199 µs) : 0, 644
Telemetry [baseline] (5.556 ms) : 0, 5556
Telemetry [candidate] (5.534 ms) : 0, 5534
section profiling
BytebuddyAgent [baseline] (623.524 ms) : 0, 623524
BytebuddyAgent [candidate] (635.052 ms) : 0, 635052
GlobalTracer [baseline] (349.377 ms) : 0, 349377
GlobalTracer [candidate] (354.392 ms) : 0, 354392
AppSec [baseline] (49.11 ms) : 0, 49110
AppSec [candidate] (49.782 ms) : 0, 49782
Remote Config [baseline] (648.533 µs) : 0, 649
Remote Config [candidate] (667.666 µs) : 0, 668
Telemetry [baseline] (5.346 ms) : 0, 5346
Telemetry [candidate] (5.481 ms) : 0, 5481
ProfilingAgent [baseline] (74.223 ms) : 0, 74223
ProfilingAgent [candidate] (75.628 ms) : 0, 75628
Profiling [baseline] (74.248 ms) : 0, 74248
Profiling [candidate] (75.652 ms) : 0, 75652
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 24 cases. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section baseline
no_agent (1.326 ms) : 1307, 1345
. : milestone, 1326,
appsec (1.655 ms) : 1630, 1680
. : milestone, 1655,
iast (1.451 ms) : 1427, 1475
. : milestone, 1451,
profiling (1.477 ms) : 1451, 1503
. : milestone, 1477,
tracing (1.448 ms) : 1424, 1472
. : milestone, 1448,
section candidate
no_agent (1.338 ms) : 1319, 1357
. : milestone, 1338,
appsec (1.663 ms) : 1638, 1687
. : milestone, 1663,
iast (1.452 ms) : 1428, 1477
. : milestone, 1452,
profiling (1.471 ms) : 1446, 1495
. : milestone, 1471,
tracing (1.462 ms) : 1437, 1486
. : milestone, 1462,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.19.0-SNAPSHOT~da0fe7a8f0, baseline=1.20.0-SNAPSHOT~42a3ef6e44
dateFormat X
axisFormat %s
section baseline
no_agent (361.995 µs) : 342, 382
. : milestone, 362,
appsec (664.726 µs) : 643, 686
. : milestone, 665,
iast (461.44 µs) : 441, 482
. : milestone, 461,
iast_FULL (526.007 µs) : 505, 547
. : milestone, 526,
iast_INACTIVE (429.507 µs) : 408, 451
. : milestone, 430,
profiling (438.436 µs) : 417, 459
. : milestone, 438,
tracing (440.536 µs) : 420, 461
. : milestone, 441,
section candidate
no_agent (366.293 µs) : 345, 387
. : milestone, 366,
appsec (654.93 µs) : 634, 675
. : milestone, 655,
iast (445.845 µs) : 425, 466
. : milestone, 446,
iast_FULL (521.233 µs) : 500, 542
. : milestone, 521,
iast_INACTIVE (429.039 µs) : 408, 450
. : milestone, 429,
profiling (446.942 µs) : 425, 469
. : milestone, 447,
tracing (434.556 µs) : 413, 456
. : milestone, 435,
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Detect and report HSTS header missing vulnerabilities
Motivation
To cover all of the header vulnerabilities
Additional Notes