forked from snyk-labs/java-goof
-
Notifications
You must be signed in to change notification settings - Fork 2
/
results.html
4401 lines (3462 loc) · 240 KB
/
results.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Snyk test report</title>
<meta name="description" content="52 known vulnerabilities found in 52 vulnerable dependency paths.">
<link rel="icon" type="image/png" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.png"
sizes="194x194">
<link rel="shortcut icon" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.ico">
<style type="text/css">
body {
-moz-font-feature-settings: "pnum";
-webkit-font-feature-settings: "pnum";
font-variant-numeric: proportional-nums;
display: flex;
flex-direction: column;
font-feature-settings: "pnum";
font-size: 100%;
line-height: 1.5;
min-height: 100vh;
-webkit-text-size-adjust: 100%;
margin: 0;
padding: 0;
background-color: #F5F5F5;
font-family: 'Arial', 'Helvetica', Calibri, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
}
a,
a:link,
a:visited {
border-bottom: 1px solid #4b45a9;
text-decoration: none;
color: #4b45a9;
}
a:hover,
a:focus,
a:active {
border-bottom: 2px solid #4b45a9;
}
hr {
border: none;
margin: 1em 0;
border-top: 1px solid #c5c5c5;
}
ul {
padding: 0 1em;
margin: 1em 0;
}
code {
background-color: #EEE;
color: #333;
padding: 0.25em 0.5em;
border-radius: 0.25em;
}
pre {
background-color: #333;
font-family: monospace;
padding: 0.5em 1em 0.75em;
border-radius: 0.25em;
font-size: 14px;
}
pre code {
padding: 0;
background-color: transparent;
color: #fff;
}
a code {
border-radius: .125rem .125rem 0 0;
padding-bottom: 0;
color: #4b45a9;
}
a[href^="http://"]:after,
a[href^="https://"]:after {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20112%20109%22%3E%3Cg%20id%3D%22Page-1%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22link-external%22%3E%3Cg%20id%3D%22arrow%22%3E%3Cpath%20id%3D%22Line%22%20stroke%3D%22%234B45A9%22%20stroke-width%3D%2215%22%20d%3D%22M88.5%2021l-43%2042.5%22%20stroke-linecap%3D%22square%22%2F%3E%3Cpath%20id%3D%22Triangle%22%20fill%3D%22%234B45A9%22%20d%3D%22M111.2%200v50L61%200z%22%2F%3E%3C%2Fg%3E%3Cpath%20id%3D%22square%22%20fill%3D%22%234B45A9%22%20d%3D%22M66%2015H0v94h94V44L79%2059v35H15V30h36z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
background-repeat: no-repeat;
background-size: .75rem;
content: "";
display: inline-block;
height: .75rem;
margin-left: .25rem;
width: .75rem;
}
/* Layout */
[class*=layout-container] {
margin: 0 auto;
max-width: 71.25em;
padding: 1.9em 1.3em;
position: relative;
}
.layout-container--short {
padding-top: 0;
padding-bottom: 0;
}
.layout-container--short:after {
display: block;
content: "";
clear: both;
}
/* Header */
.header {
padding-bottom: 1px;
}
.project__header {
background-color: #4C4A73;
color: #fff;
margin-bottom: -1px;
padding-top: 1em;
padding-bottom: 0.25em;
border-bottom: 2px solid #BBB;
}
.project__header__title {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
margin-bottom: .1em;
margin-top: 0;
float: left;
}
.timestamp {
float: right;
clear: none;
margin-bottom: 0;
}
.meta-counts {
clear: both;
display: block;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 0 1.5em;
color: #fff;
clear: both;
font-size: 1.1em;
}
.meta-count {
display: block;
flex-basis: 100%;
margin: 0 1em 1em 0;
float: left;
padding-right: 1em;
border-right: 2px solid #fff;
}
.meta-count:last-child {
border-right: 0;
padding-right: 0;
margin-right: 0;
}
/* Card */
.card {
background-color: #fff;
border: 1px solid #c5c5c5;
border-radius: .25rem;
margin: 0 0 2em 0;
position: relative;
min-height: 40px;
padding: 1.5em;
}
.card .label {
background-color: #767676;
border: 2px solid #767676;
color: white;
padding: 0.25rem 0.75rem;
font-size: 0.875rem;
text-transform: uppercase;
display: inline-block;
margin: 0;
border-radius: 0.25rem;
}
.card .label__text {
vertical-align: text-top;
}
.card .label--high {
background-color: #B51B72;
border-color: #B51B72;
}
.card .label--medium {
background-color: #E29022;
border-color: #E29022;
}
.card .label--low {
background-color: #222049;
border-color: #222049;
}
.card .card.severity--low {
border-color: #222049;
}
.card .card.severity--medium {
border-color: #E29022;
}
.card .card.severity--high {
border-color: #B51B72;
}
.card--vuln {
padding-top: 4em;
max-width: 48.75em;
}
.card--vuln .label {
left: 0;
position: absolute;
top: 1.1em;
padding-left: 1.9em;
padding-right: 1.9em;
border-radius: 0 0.25rem 0.25rem 0;
}
.card--vuln .card__section h2 {
font-size: 22px;
margin-bottom: 0.5em;
}
.card--vuln .card__section p {
margin: 0 0 0.5em 0;
}
.card--vuln .card__meta {
padding: 0 0 0 1em;
margin: 0;
font-size: 1.1em;
}
.card .card__meta__paths {
font-size: 0.9em;
}
.card--vuln .card__title {
font-size: 28px;
margin-top: 0;
}
.card--vuln .card__cta p {
margin: 0;
text-align: right;
}
.source-panel {
clear: both;
display: flex;
justify-content: flex-start;
flex-direction: column;
align-items: flex-start;
padding: 0.5em 0;
width: fit-content;
padding: 0.5em;
}
</style>
</head>
<body class="section-projects">
<main class="layout-stacked">
<div class="layout-stacked__header header">
<header class="project__header">
<div class="layout-container--short">
<h1 class="project__header__title">Snyk test report</h1>
<p class="timestamp">July 22nd 2020, 1:33:44 pm</p>
<div class="source-panel">
<span>Scanned the following path:</span>
<ul>
<li>/Users/swschmidt/OneDrive/Snyk/Workspace/java-goof-github (maven)</li>
</ul>
</div>
<div class="meta-counts">
<div class="meta-count"><span>52</span> <span>known vulnerabilities</span></div>
<div class="meta-count"><span>52 vulnerable dependency paths</span></div>
<div class="meta-count"><span>53</span> <span>dependencies</span></div>
</div><!-- .meta-counts -->
</div><!-- .layout-container--short -->
</header><!-- .project__header -->
</div><!-- .layout-stacked__header -->
<div class="layout-stacked__content">
<div class="layout-container--short" style="padding-top: 35px;">
<div class="cards--vuln filter--patch filter--ignore">
<div class="card card--vuln disclosure--not-new severity--high" >
<h2 class="card__title">XML External Entity (XXE) Injection</h2>
<div class="card__section">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
c3p0:c3p0
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
c3p0:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://mvnrepository.com/artifact/c3p0/c3p0">c3p0:c3p0</a> is a lIbrary for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. Note: This library is no longer maintained and has migrated to the artifact
"com.mchange:c3p0"</p>
<p>Affected versions of this package are vulnerable to XML External Entity (XXE) Injection.
via the <code>extractXmlConfigFromInputStream</code> in <code>com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java</code> during initialization.</p>
<h2 id="details">Details</h2>
<p>XXE Injection is a type of attack against an application that parses XML input.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.</p>
<p>Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.</p>
<p>For example, below is a sample XML document, containing an XML element- username.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<username>John</username>
</xml></code></pre>
<p>An external XML entity - <code>xxe</code>, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of <code>/etc/passwd</code> and display it to the user rendered by <code>username</code>.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
<username>&xxe;</username>
</xml></code></pre>
<p>Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<p>There is no fixed version for <code>c3p0:c3p0</code>.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/swaldman/c3p0/commit/7dfdda63f42759a5ec9b63d725b7412f74adb3e1">GitHub Commit</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-C3P0-461017">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--medium" >
<h2 class="card__title">Denial of Service (DoS)</h2>
<div class="card__section">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
c3p0:c3p0
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
c3p0:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://mvnrepository.com/artifact/c3p0/c3p0">c3p0:c3p0</a> is a lIbrary for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. Note: This library is no longer maintained and has migrated to the artifact
"com.mchange:c3p0"</p>
<p>Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing protections against recursive entity expansion when loading XML configurations.</p>
<h2 id="details">Details</h2>
<p>Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.</p>
<p>Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.</p>
<p>One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.</p>
<p>When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.</p>
<p>Two common types of DoS vulnerabilities:</p>
<ul>
<li><p>High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, <a href="SNYK-JAVA-COMMONSFILEUPLOAD-30082">commons-fileupload:commons-fileupload</a>.</p>
</li>
<li><p>Crash - An attacker sending crafted requests that could cause the system to crash. For Example, <a href="npm:ws:20171108">npm <code>ws</code> package</a></p>
</li>
</ul>
<h2 id="remediation">Remediation</h2>
<p>There is no fixed version for <code>c3p0:c3p0</code>.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://hackerone.com/reports/509315">Hackerone Report</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-C3P0-461018">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--medium" >
<h2 class="card__title">LGPL-3.0 license</h2>
<div class="card__section">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Module:
c3p0:c3p0
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
c3p0:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<p>LGPL-3.0 license</p>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/snyk:lic:maven:c3p0:c3p0:LGPL-3.0">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--high" >
<h2 class="card__title">Denial of Service (DoS)</h2>
<div class="card__section">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
commons-fileupload:commons-fileupload
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
org.apache.struts:[email protected]
<span class="list-paths__item__arrow">›</span>
commons-fileupload:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload">commons-fileupload:commons-fileupload</a> is a component that provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.</p>
<p>Affected versions of this package are vulnerable to Denial of Service (DoS). It allows remote attackers to cause a denial of service (CPU consumption) via a long boundary string.</p>
<h2 id="details">Details</h2>
<p>Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.</p>
<p>Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.</p>
<p>One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.</p>
<p>When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.</p>
<p>Two common types of DoS vulnerabilities:</p>
<ul>
<li><p>High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, <a href="SNYK-JAVA-COMMONSFILEUPLOAD-30082">commons-fileupload:commons-fileupload</a>.</p>
</li>
<li><p>Crash - An attacker sending crafted requests that could cause the system to crash. For Example, <a href="npm:ws:20171108">npm <code>ws</code> package</a></p>
</li>
</ul>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>commons-fileupload:commons-fileupload</code> to version 1.3.2 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="http://mail-archives.us.apache.org/mod_mbox/www-announce/201606.mbox/%[email protected]%3E">Apache Mail Archive</a></li>
<li><a href="http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/RELEASE-NOTES.txt?r1=1745717&r2=1749637&diff_format=h">Apache-SVN</a></li>
<li><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3092">CVE Details</a></li>
<li><a href="https://github.com/apache/commons-fileupload/blob/b1498c9877d751f8bc4635a6f252ebdfcba28518/src/changes/changes.xml#L84">Github ChangeLog</a></li>
<li><a href="https://github.com/apache/tomcat80/commit/d752a415a875e888d8c8d0988dfbde95c2c6fb1d">GitHub Commit</a></li>
<li><a href="https://github.com/apache/tomcat/commit/2c3553f3681baf775c50bb0b49ea61cb44ea914f">GitHub Commit</a></li>
<li><a href="https://github.com/apache/tomcat/commit/8999f8243197a5f8297d0cb1a0d86ed175678a77">GitHub Commit</a></li>
<li><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1349475">RedHat Bugzilla Bug</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-COMMONSFILEUPLOAD-30082">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--high" >
<h2 class="card__title">Arbitrary Code Execution</h2>
<div class="card__section">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
commons-fileupload:commons-fileupload
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
org.apache.struts:[email protected]
<span class="list-paths__item__arrow">›</span>
commons-fileupload:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22commons-fileupload%22"><code>commons-fileupload:commons-fileupload</code></a>
The Apache Commons FileUpload library contains a Java Object that, upon deserialization, can be manipulated to write or copy files in arbitrary locations. If integrated with <a href="https://github.com/frohoff/ysoserial"><code>ysoserial</code></a>, it is possible to upload and execute binaries in a single deserialization call.</p>
<h1 id="details">Details</h1>
<p>Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like <em>Remote Method Invocation (RMI)</em>, <em>Java Management Extension (JMX)</em>, <em>Java Messaging System (JMS)</em>, <em>Action Message Format (AMF)</em>, <em>Java Server Faces (JSF) ViewState</em>, etc.</p>
<p><em>Deserialization of untrusted data</em> (<a href="https://cwe.mitre.org/data/definitions/502.html">CWE-502</a>), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.</p>
<p>Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a <a href="https://snyk.io/vuln/SNYK-JAVA-COMMONSCOLLECTIONS-30078">popular library (Apache Commons Collection)</a>. These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.</p>
<p>An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.</p>
<blockquote>
<p>Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).</p>
</blockquote>
<ul>
<li>Apache Blog</li>
</ul>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>commons-fileupload</code> to version 1.3.3 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1000031">NVD</a></li>
<li><a href="http://www.tenable.com/security/research/tra-2016-12">Tenable Security</a></li>
<li><a href="https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml#L65">Github ChangeLog</a></li>
<li><a href="https://github.com/apache/commons-fileupload/commit/388e824518697c2c8f9f83fd964621d9c2f8fc4c">Github Commit</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-COMMONSFILEUPLOAD-30401">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--medium" >
<h2 class="card__title">Information Exposure</h2>
<div class="card__section">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
commons-fileupload:commons-fileupload
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
org.apache.struts:[email protected]
<span class="list-paths__item__arrow">›</span>
commons-fileupload:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://commons.apache.org/proper/commons-fileupload/"><code>commons-fileupload:commons-fileupload</code></a> provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.</p>
<p>Affected versions of the package are vulnerable to Information Disclosure because the <code>InputStream</code> is not closed on exception.</p>
<h2 id="remediation">Remediation</h2>
<p>Upgrade <code>commons-fileupload</code> to version 1.3.2 or higher.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml#L56">Github ChangeLog</a></li>
<li><a href="https://github.com/apache/commons-fileupload/commit/5b4881d7f75f439326f54fa554a9ca7de6d60814">Github Commit</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-COMMONSFILEUPLOAD-31540">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--high" >
<h2 class="card__title">XML External Entity (XXE) Injection</h2>
<div class="card__section">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
dom4j:dom4j
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
org.hibernate:[email protected]
<span class="list-paths__item__arrow">›</span>
dom4j:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://github.com/dom4j/dom4j">dom4j:dom4j</a> is a flexible XML framework for Java. <em>Note</em>: this artifact has been deprecated for <code>org.dom4j:dom4j</code>.</p>
<p>Affected versions of this package are vulnerable to XML External Entity (XXE) Injection
due to not validating the <code>QName</code> inputs.</p>
<h2 id="details">Details</h2>
<p>XXE Injection is a type of attack against an application that parses XML input.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.</p>
<p>Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.</p>
<p>For example, below is a sample XML document, containing an XML element- username.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<username>John</username>
</xml></code></pre>
<p>An external XML entity - <code>xxe</code>, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of <code>/etc/passwd</code> and display it to the user rendered by <code>username</code>.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
<username>&xxe;</username>
</xml></code></pre>
<p>Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<h2 id="references">References</h2>
<ul>
<li><p><a href="https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387">GitHub Commit</a></p>
</li>
<li><p><a href="https://github.com/dom4j/dom4j/issues/48">GitHub Issue</a></p>
</li>
<li><p><a href="https://ihacktoprotect.com/post/dom4j-xml-injection/">Ihacktoprotect Blog</a></p>
</li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-DOM4J-174153">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--high" >
<h2 class="card__title">XML External Entity (XXE) Injection</h2>
<div class="card__section">
<div class="label label--high">
<span class="label__text">high severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
javax.servlet:jstl
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>
<ul class="card__meta__paths">
<li>
<span class="list-paths__item__introduced"><em>Introduced through</em>:
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
io.github.snyk:[email protected]
<span class="list-paths__item__arrow">›</span>
javax.servlet:[email protected]
</span>
</li>
</li>
</ul><!-- .list-paths -->
</div><!-- .card__section -->
<hr/>
<!-- Overview -->
<h2 id="overview">Overview</h2>
<p><a href="https://mvnrepository.com/artifact/javax.servlet/jstl">javax.servlet:jstl</a> is a collection of useful JSP tags which encapsulates the core functionality common to many JSP applications.</p>
<p>Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. Apache Standard Taglibs before 1.2.3 allows remote attackers to execute arbitrary code or conduct external XML entity (XXE) attacks via a crafted XSLT extension in a <code><x:parse></code> or <code><x:transform></code> JSTL XML tag.</p>
<h2 id="details">Details</h2>
<p>XXE Injection is a type of attack against an application that parses XML input.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.</p>
<p>Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.</p>
<p>For example, below is a sample XML document, containing an XML element- username.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<username>John</username>
</xml></code></pre>
<p>An external XML entity - <code>xxe</code>, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of <code>/etc/passwd</code> and display it to the user rendered by <code>username</code>.</p>
<pre><code class="language-xml"><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
<username>&xxe;</username>
</xml></code></pre>
<p>Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.</p>
<h2 id="remediation">Remediation</h2>
<p>There is no fixed version for <code>javax.servlet:jstl</code>.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="http://mail-archives.us.apache.org/mod_mbox/www-announce/201502.mbox/%[email protected]%3E">Apache Mail Archive</a></li>
<li><a href="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0254">NVD</a></li>
<li><a href="https://access.redhat.com/security/cve/CVE-2015-0254">RedHat CVE Database</a></li>
</ul>
<hr/>
<div class="cta card__cta">
<p><a href="https://snyk.io/vuln/SNYK-JAVA-JAVAXSERVLET-30449">More about this vulnerability</a></p>
</div>
</div><!-- .card --> <div class="card card--vuln disclosure--not-new severity--medium" >
<h2 class="card__title">Denial of Service (DoS)</h2>
<div class="card__section">
<div class="label label--medium">
<span class="label__text">medium severity</span>
</div>
<hr/>
<ul class="card__meta">
<li class="card__meta__item">
Package Manager: maven
</li>
<li class="card__meta__item">
Vulnerable module:
ognl:ognl
</li>
<li class="card__meta__item">Introduced through:
io.github.snyk:[email protected], io.github.snyk:[email protected] and others
</li>
</ul>
<hr/>
<h3 class="card__section__title">Detailed paths</h3>