forked from snyk-labs/java-goof
-
Notifications
You must be signed in to change notification settings - Fork 2
/
results.json
15924 lines (15924 loc) · 819 KB
/
results.json
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
[
{
"vulnerabilities": [
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"alternativeIds": [],
"creationTime": "2019-09-05T16:17:58.383761Z",
"credit": [
"Unknown"
],
"cvssScore": 9.8,
"description": "## Overview\n\n[c3p0:c3p0](https://mvnrepository.com/artifact/c3p0/c3p0) 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 \r\n\"com.mchange:c3p0\"\n\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection.\nvia the `extractXmlConfigFromInputStream` in `com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java` during initialization.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\r\nXML 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.\r\n\r\nAttacks 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.\r\n\r\nFor example, below is a sample XML document, containing an XML element- username.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n <username>John</username>\r\n</xml>\r\n```\r\n\r\nAn external XML entity - `xxe`, 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 `/etc/passwd` and display it to the user rendered by `username`.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n<!DOCTYPE foo [\r\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\r\n <username>&xxe;</username>\r\n</xml>\r\n```\r\n\r\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n\n\n## Remediation\n\nThere is no fixed version for `c3p0:c3p0`.\n\n\n## References\n\n- [GitHub Commit](https://github.com/swaldman/c3p0/commit/7dfdda63f42759a5ec9b63d725b7412f74adb3e1)\n",
"disclosureTime": "2018-12-24T13:29:00Z",
"exploit": "Not Defined",
"fixedIn": [],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-C3P0-461017",
"identifiers": {
"CVE": [
"CVE-2018-20433"
],
"CWE": [
"CWE-611"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "c3p0",
"groupId": "c3p0"
},
"modificationTime": "2019-09-06T16:33:46.511213Z",
"moduleName": "c3p0:c3p0",
"packageManager": "maven",
"packageName": "c3p0:c3p0",
"patches": [],
"proprietary": false,
"publicationTime": "2019-07-21T14:22:18Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/swaldman/c3p0/commit/7dfdda63f42759a5ec9b63d725b7412f74adb3e1"
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"severity": "high",
"title": "XML External Entity (XXE) Injection",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/RL:O",
"alternativeIds": [],
"creationTime": "2019-09-05T16:24:58.914446Z",
"credit": [
"Unknown"
],
"cvssScore": 5.9,
"description": "## Overview\n[c3p0:c3p0](https://mvnrepository.com/artifact/c3p0/c3p0) 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 \r\n\"com.mchange:c3p0\"\n\nAffected versions of this package are vulnerable to Denial of Service (DoS) due to missing protections against recursive entity expansion when loading XML configurations.\n\n## Details\n\nDenial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.\n\nUnlike 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.\n\nOne 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.\n\nWhen 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.\n\nTwo common types of DoS vulnerabilities:\n\n* 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, [commons-fileupload:commons-fileupload](SNYK-JAVA-COMMONSFILEUPLOAD-30082).\n\n* Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](npm:ws:20171108)\n\n## Remediation\nThere is no fixed version for `c3p0:c3p0`.\n## References\n- [Hackerone Report](https://hackerone.com/reports/509315)\n",
"disclosureTime": "2019-04-22T22:18:26Z",
"exploit": "Not Defined",
"fixedIn": [],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-C3P0-461018",
"identifiers": {
"CVE": [
"CVE-2019-5427"
],
"CWE": [
"CWE-776"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "c3p0",
"groupId": "c3p0"
},
"modificationTime": "2020-06-12T14:36:46.841884Z",
"moduleName": "c3p0:c3p0",
"packageManager": "maven",
"packageName": "c3p0:c3p0",
"patches": [],
"proprietary": false,
"publicationTime": "2019-04-22T22:18:26Z",
"references": [
{
"title": "Hackerone Report",
"url": "https://hackerone.com/reports/509315"
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"severity": "medium",
"title": "Denial of Service (DoS)",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"license": "LGPL-3.0",
"semver": {
"vulnerable": [
"[0,)"
]
},
"id": "snyk:lic:maven:c3p0:c3p0:LGPL-3.0",
"type": "license",
"packageManager": "maven",
"language": "java",
"packageName": "c3p0:c3p0",
"title": "LGPL-3.0 license",
"description": "LGPL-3.0 license",
"publicationTime": "2020-07-20T23:01:34.677Z",
"creationTime": "2020-07-20T23:01:34.677Z",
"licenseTemplateUrl": "https://raw.githubusercontent.com/spdx/license-list/master/LGPL-3.0.txt",
"severity": "medium",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"alternativeIds": [],
"creationTime": "2016-12-25T16:51:56Z",
"credit": [
"TERASOLUNA Framework Development Team"
],
"cvssScore": 7.5,
"description": "## Overview\n[commons-fileupload:commons-fileupload](https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload) is a component that provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.\n\nAffected 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.\n\n## Details\n\nDenial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.\n\nUnlike 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.\n\nOne 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.\n\nWhen 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.\n\nTwo common types of DoS vulnerabilities:\n\n* 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, [commons-fileupload:commons-fileupload](SNYK-JAVA-COMMONSFILEUPLOAD-30082).\n\n* Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](npm:ws:20171108)\n\n## Remediation\nUpgrade `commons-fileupload:commons-fileupload` to version 1.3.2 or higher.\n## References\n- [Apache Mail Archive](http://mail-archives.us.apache.org/mod_mbox/www-announce/201606.mbox/%[email protected]%3E)\n- [Apache-SVN](http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/RELEASE-NOTES.txt?r1=1745717&r2=1749637&diff_format=h)\n- [CVE Details](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3092)\n- [Github ChangeLog](https://github.com/apache/commons-fileupload/blob/b1498c9877d751f8bc4635a6f252ebdfcba28518/src/changes/changes.xml#L84)\n- [GitHub Commit](https://github.com/apache/tomcat80/commit/d752a415a875e888d8c8d0988dfbde95c2c6fb1d)\n- [GitHub Commit](https://github.com/apache/tomcat/commit/2c3553f3681baf775c50bb0b49ea61cb44ea914f)\n- [GitHub Commit](https://github.com/apache/tomcat/commit/8999f8243197a5f8297d0cb1a0d86ed175678a77)\n- [RedHat Bugzilla Bug](https://bugzilla.redhat.com/show_bug.cgi?id=1349475)\n",
"disclosureTime": "2016-06-22T16:51:56Z",
"exploit": "Not Defined",
"fixedIn": [
"1.3.2"
],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-COMMONSFILEUPLOAD-30082",
"identifiers": {
"CVE": [
"CVE-2016-3092"
],
"CWE": [
"CWE-20"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "commons-fileupload",
"groupId": "commons-fileupload"
},
"modificationTime": "2019-06-02T07:36:42.354413Z",
"moduleName": "commons-fileupload:commons-fileupload",
"packageManager": "maven",
"packageName": "commons-fileupload:commons-fileupload",
"patches": [],
"proprietary": false,
"publicationTime": "2016-12-25T16:51:56Z",
"references": [
{
"title": "Apache Mail Archive",
"url": "http://mail-archives.us.apache.org/mod_mbox/www-announce/201606.mbox/%[email protected]%3E"
},
{
"title": "Apache-SVN",
"url": "http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/RELEASE-NOTES.txt?r1=1745717&r2=1749637&diff_format=h"
},
{
"title": "CVE Details",
"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3092"
},
{
"title": "Github ChangeLog",
"url": "https://github.com/apache/commons-fileupload/blob/b1498c9877d751f8bc4635a6f252ebdfcba28518/src/changes/changes.xml%23L84"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/tomcat80/commit/d752a415a875e888d8c8d0988dfbde95c2c6fb1d"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/tomcat/commit/2c3553f3681baf775c50bb0b49ea61cb44ea914f"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/tomcat/commit/8999f8243197a5f8297d0cb1a0d86ed175678a77"
},
{
"title": "RedHat Bugzilla Bug",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1349475"
}
],
"semver": {
"vulnerable": [
"[1.3,1.3.2)"
]
},
"severity": "high",
"title": "Denial of Service (DoS)",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]",
"commons-fileupload:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "commons-fileupload:commons-fileupload",
"version": "1.3.1"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"alternativeIds": [],
"creationTime": "2017-02-22T07:28:18.753000Z",
"credit": [
"Unknown"
],
"cvssScore": 9.8,
"description": "## Overview\n[`commons-fileupload:commons-fileupload`](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22commons-fileupload%22)\nThe 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 [`ysoserial`](https://github.com/frohoff/ysoserial), it is possible to upload and execute binaries in a single deserialization call.\n\n# Details\nSerialization 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 _Remote Method Invocation (RMI)_, _Java Management Extension (JMX)_, _Java Messaging System (JMS)_, _Action Message Format (AMF)_, _Java Server Faces (JSF) ViewState_, etc.\n\n_Deserialization of untrusted data_ ([CWE-502](https://cwe.mitre.org/data/definitions/502.html)), 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.\n\nJava 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 [popular library (Apache Commons Collection)](https://snyk.io/vuln/SNYK-JAVA-COMMONSCOLLECTIONS-30078). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.\n\nAn 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.\n\n> 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).\n- Apache Blog\n\n## Remediation\nUpgrade `commons-fileupload` to version 1.3.3 or higher.\n\n\n## References\n- [NVD](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1000031)\n- [Tenable Security](http://www.tenable.com/security/research/tra-2016-12)\n- [Github ChangeLog](https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml#L65)\n- [Github Commit](https://github.com/apache/commons-fileupload/commit/388e824518697c2c8f9f83fd964621d9c2f8fc4c)\n",
"disclosureTime": "2016-10-25T14:29:00Z",
"exploit": "Not Defined",
"fixedIn": [
"1.3.3"
],
"functions": [
{
"functionId": {
"className": "DiskFileItem",
"filePath": "org/apache/commons/fileupload/disk/DiskFileItem.java",
"functionName": "readObject"
},
"version": [
"[1.1,1.3.3)"
]
}
],
"functions_new": [
{
"functionId": {
"className": "org.apache.commons.fileupload.disk.DiskFileItem",
"functionName": "readObject"
},
"version": [
"[1.1,1.3.3)"
]
}
],
"id": "SNYK-JAVA-COMMONSFILEUPLOAD-30401",
"identifiers": {
"CVE": [
"CVE-2016-1000031"
],
"CWE": [
"CWE-284"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "commons-fileupload",
"groupId": "commons-fileupload"
},
"modificationTime": "2019-06-02T07:36:59.369724Z",
"moduleName": "commons-fileupload:commons-fileupload",
"packageManager": "maven",
"packageName": "commons-fileupload:commons-fileupload",
"patches": [],
"proprietary": false,
"publicationTime": "2016-10-26T03:04:11.895000Z",
"references": [
{
"title": "Github ChangeLog",
"url": "https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml%23L65"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/commons-fileupload/commit/388e824518697c2c8f9f83fd964621d9c2f8fc4c"
},
{
"title": "NVD",
"url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1000031"
},
{
"title": "Tenable Security",
"url": "http://www.tenable.com/security/research/tra-2016-12"
}
],
"semver": {
"vulnerable": [
"[1.1,1.3.3)"
]
},
"severity": "high",
"title": "Arbitrary Code Execution",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]",
"commons-fileupload:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "commons-fileupload:commons-fileupload",
"version": "1.3.1"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"alternativeIds": [],
"creationTime": "2017-10-01T08:05:48.497000Z",
"credit": [
"Unknown"
],
"cvssScore": 6.5,
"description": "## Overview\r\n[`commons-fileupload:commons-fileupload`](https://commons.apache.org/proper/commons-fileupload/) provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.\r\n\r\nAffected versions of the package are vulnerable to Information Disclosure because the `InputStream` is not closed on exception.\r\n\r\n## Remediation\r\nUpgrade `commons-fileupload` to version 1.3.2 or higher.\r\n\r\n## References\r\n- [Github ChangeLog](https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml#L56)\r\n- [Github Commit](https://github.com/apache/commons-fileupload/commit/5b4881d7f75f439326f54fa554a9ca7de6d60814)",
"disclosureTime": "2014-02-17T22:00:00Z",
"exploit": "Not Defined",
"fixedIn": [
"1.3.2"
],
"functions": [
{
"functionId": {
"className": "FileUpload",
"filePath": "org/apache/commons/fileupload/FileUpload.java",
"functionName": "parseRequest"
},
"version": [
"[,1.0-rc1)"
]
},
{
"functionId": {
"className": "FileUploadBase",
"filePath": "org/apache/commons/fileupload/FileUploadBase.java",
"functionName": "parseRequest"
},
"version": [
"[1.0-rc1,1.2.0)"
]
},
{
"functionId": {
"className": "FileUploadBase$FileItemIteratorImpl",
"filePath": "org/apache/commons/fileupload/FileUploadBase$FileItemIteratorImpl.java",
"functionName": "<init>"
},
"version": [
"[1.2.0 ,1.3.2)"
]
}
],
"functions_new": [
{
"functionId": {
"className": "org.apache.commons.fileupload.FileUpload",
"functionName": "parseRequest"
},
"version": [
"[,1.0-rc1)"
]
},
{
"functionId": {
"className": "org.apache.commons.fileupload.FileUploadBase",
"functionName": "parseRequest"
},
"version": [
"[1.0-rc1,1.2.0)"
]
},
{
"functionId": {
"className": "org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl",
"functionName": "<init>"
},
"version": [
"[1.2.0 ,1.3.2)"
]
}
],
"id": "SNYK-JAVA-COMMONSFILEUPLOAD-31540",
"identifiers": {
"CVE": [],
"CWE": [
"CWE-200"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "commons-fileupload",
"groupId": "commons-fileupload"
},
"modificationTime": "2020-06-22T17:20:16.073581Z",
"moduleName": "commons-fileupload:commons-fileupload",
"packageManager": "maven",
"packageName": "commons-fileupload:commons-fileupload",
"patches": [],
"proprietary": false,
"publicationTime": "2017-02-17T08:05:48Z",
"references": [
{
"title": "Github ChangeLog",
"url": "https://github.com/apache/commons-fileupload/blob/master/src/changes/changes.xml%23L56"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/commons-fileupload/commit/5b4881d7f75f439326f54fa554a9ca7de6d60814"
}
],
"semver": {
"vulnerable": [
"[,1.3.2)"
]
},
"severity": "medium",
"title": "Information Exposure",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]",
"commons-fileupload:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "commons-fileupload:commons-fileupload",
"version": "1.3.1"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"alternativeIds": [],
"creationTime": "2019-04-10T16:07:04.634619Z",
"credit": [
"Mario Areias"
],
"cvssScore": 7.5,
"description": "## Overview\n \n[dom4j:dom4j](https://github.com/dom4j/dom4j) is a flexible XML framework for Java. *Note*: this artifact has been deprecated for `org.dom4j:dom4j`.\n\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection\ndue to not validating the `QName` inputs.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\r\nXML 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.\r\n\r\nAttacks 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.\r\n\r\nFor example, below is a sample XML document, containing an XML element- username.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n <username>John</username>\r\n</xml>\r\n```\r\n\r\nAn external XML entity - `xxe`, 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 `/etc/passwd` and display it to the user rendered by `username`.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n<!DOCTYPE foo [\r\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\r\n <username>&xxe;</username>\r\n</xml>\r\n```\r\n\r\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n\n## Remediation\n\n\n## References\n\n- [GitHub Commit](https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387)\n\n- [GitHub Issue](https://github.com/dom4j/dom4j/issues/48)\n\n- [Ihacktoprotect Blog](https://ihacktoprotect.com/post/dom4j-xml-injection/)\n",
"disclosureTime": "2018-07-01T19:12:29Z",
"exploit": "Not Defined",
"fixedIn": [],
"functions": [
{
"functionId": {
"className": "Namespace",
"filePath": "org/dom4j/Namespace.java",
"functionName": "<init>"
},
"version": [
"[0,]"
]
},
{
"functionId": {
"className": "QName",
"filePath": "org/dom4j/QName.java",
"functionName": "<init>"
},
"version": [
"[0,]"
]
}
],
"functions_new": [
{
"functionId": {
"className": "org.dom4j.Namespace",
"functionName": "<init>"
},
"version": [
"[0,]"
]
},
{
"functionId": {
"className": "org.dom4j.QName",
"functionName": "<init>"
},
"version": [
"[0,]"
]
}
],
"id": "SNYK-JAVA-DOM4J-174153",
"identifiers": {
"CVE": [
"CVE-2018-1000632"
],
"CWE": [
"CWE-611"
],
"GHSA": [
"GHSA-6pcc-3rfx-4gpm"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "dom4j",
"groupId": "dom4j"
},
"modificationTime": "2019-05-03T13:37:11.085191Z",
"moduleName": "dom4j:dom4j",
"packageManager": "maven",
"packageName": "dom4j:dom4j",
"patches": [],
"proprietary": false,
"publicationTime": "2018-08-21T14:16:13Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387"
},
{
"title": "GitHub Issue",
"url": "https://github.com/dom4j/dom4j/issues/48"
},
{
"title": "Ihacktoprotect Blog",
"url": "https://ihacktoprotect.com/post/dom4j-xml-injection/"
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"severity": "high",
"title": "XML External Entity (XXE) Injection",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]",
"dom4j:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "dom4j:dom4j",
"version": "1.6.1"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"alternativeIds": [],
"creationTime": "2017-02-22T07:28:19.341000Z",
"credit": [
"David Jorm"
],
"cvssScore": 7.3,
"description": "## Overview\n[javax.servlet:jstl](https://mvnrepository.com/artifact/javax.servlet/jstl) is a collection of useful JSP tags which encapsulates the core functionality common to many JSP applications.\n\nAffected 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 `<x:parse>` or `<x:transform>` JSTL XML tag.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\nXML 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.\n\nAttacks 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.\n\nFor example, below is a sample XML document, containing an XML element- username.\n\n```xml\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n <username>John</username>\n</xml>\n```\n\nAn external XML entity - `xxe`, 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 `/etc/passwd` and display it to the user rendered by `username`.\n\n```xml\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<!DOCTYPE foo [\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\n <username>&xxe;</username>\n</xml>\n```\n\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n## Remediation\nThere is no fixed version for `javax.servlet:jstl`.\n## References\n- [Apache Mail Archive](http://mail-archives.us.apache.org/mod_mbox/www-announce/201502.mbox/%[email protected]%3E)\n- [NVD](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0254)\n- [RedHat CVE Database](https://access.redhat.com/security/cve/CVE-2015-0254)\n",
"disclosureTime": "2015-02-27T16:13:27Z",
"exploit": "Not Defined",
"fixedIn": [],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-JAVAXSERVLET-30449",
"identifiers": {
"CVE": [
"CVE-2015-0254"
],
"CWE": [
"CWE-94"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "jstl",
"groupId": "javax.servlet"
},
"modificationTime": "2019-04-18T07:20:47.242780Z",
"moduleName": "javax.servlet:jstl",
"packageManager": "maven",
"packageName": "javax.servlet:jstl",
"patches": [],
"proprietary": false,
"publicationTime": "2015-02-27T16:51:55Z",
"references": [
{
"title": "Apache Mail Archive",
"url": "http://mail-archives.us.apache.org/mod_mbox/www-announce/201502.mbox/%[email protected]%3E"
},
{
"title": "NVD",
"url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0254"
},
{
"title": "RedHat CVE Database",
"url": "https://access.redhat.com/security/cve/CVE-2015-0254"
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"severity": "high",
"title": "XML External Entity (XXE) Injection",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"javax.servlet:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "javax.servlet:jstl",
"version": "1.2"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"alternativeIds": [],
"creationTime": "2017-02-22T07:28:19.659000Z",
"credit": [
"Tao Wang"
],
"cvssScore": 5.3,
"description": "## Overview\n[`ognl:ognl`](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22ognl%22) is a simple Expression Language (EL) for Java.\n\nAffected versions of this package are vulnerable to Denial of Service (DoS) attacks.\nApache Struts 2.0.0 through 2.3.24.1 does not properly cache method references when used with OGNL before 3.0.12, which allows remote attackers to cause a denial of service (block access to a web site) via unspecified vectors.\n\n## Details\nDenial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.\r\n\r\nUnlike 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.\r\n\r\nOne 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.\r\n\r\nWhen 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.\r\n\r\nTwo common types of DoS vulnerabilities:\r\n\r\n* 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, [commons-fileupload:commons-fileupload](SNYK-JAVA-COMMONSFILEUPLOAD-30082).\r\n\r\n* Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](npm:ws:20171108)\n\n## Remediation\nUpgrade `ognl:ognl` to version 3.0.12 or higher.\n\n## References\n- [NVD](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3093)\n- [GitHub Commit](https://github.com/jkuhnert/ognl/commit/ae43073fbf38db8371ff4f8bf2a966ee3b5f7e92)\n",
"disclosureTime": "2016-06-02T02:16:48.918000Z",
"exploit": "Not Defined",
"fixedIn": [
"3.0.12"
],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-OGNL-30474",
"identifiers": {
"CVE": [
"CVE-2016-3093"
],
"CWE": [
"CWE-20"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "ognl",
"groupId": "ognl"
},
"modificationTime": "2019-06-02T07:37:12.793609Z",
"moduleName": "ognl:ognl",
"packageManager": "maven",
"packageName": "ognl:ognl",
"patches": [],
"proprietary": false,
"publicationTime": "2016-06-02T02:16:48.918000Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/jkuhnert/ognl/commit/ae43073fbf38db8371ff4f8bf2a966ee3b5f7e92"
},
{
"title": "NVD",
"url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3093"
}
],
"semver": {
"vulnerable": [
"[,3.0.12)"
]
},
"severity": "medium",
"title": "Denial of Service (DoS)",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]",
"ognl:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "ognl:ognl",
"version": "3.0.6"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"alternativeIds": [],
"creationTime": "2016-12-25T16:51:56Z",
"credit": [
"Viettel Information Security Center"
],
"cvssScore": 7.5,
"description": "## Overview\n`ValueStack` defines special `top` object which represents root of execution context. It can be used to manipulate Struts' internals or can be used to affect container's settings.\n\n## References\n- [Vulnerability Summary](http://struts.apache.org/docs/s2-026.html)\n",
"disclosureTime": "2015-07-01T16:51:56Z",
"exploit": "Not Defined",
"fixedIn": [
"2.3.24.1"
],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-ORGAPACHESTRUTS-30060",
"identifiers": {
"CVE": [
"CVE-2015-5209"
],
"CWE": [
"CWE-284"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "struts2-core",
"groupId": "org.apache.struts"
},
"modificationTime": "2019-10-27T12:32:35.077634Z",
"moduleName": "org.apache.struts:struts2-core",
"packageManager": "maven",
"packageName": "org.apache.struts:struts2-core",
"patches": [],
"proprietary": false,
"publicationTime": "2015-07-01T16:51:56Z",
"references": [
{
"title": "Vulnerability Summary",
"url": "http://struts.apache.org/docs/s2-026.html"
}
],
"semver": {
"vulnerable": [
"[2.0.0, 2.3.24.1)"
]
},
"severity": "high",
"title": "Manipulation of Struts' internals",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "org.apache.struts:struts2-core",
"version": "2.3.20"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C",
"alternativeIds": [],
"creationTime": "2017-03-19T10:28:21.873000Z",
"credit": [
"Nike Zheng"
],
"cvssScore": 10,
"description": "## Overview\r\n[`org.apache.struts:struts2-core`](https://cwiki.apache.org/confluence/display/WW/Home) is an elegant, extensible framework for building enterprise-ready Java web applications.\r\n\r\nAffected versions of the package are vulnerable to Arbitrary Command Execution while uploading files with the Jakarta Multipart parser. This particular vulnerability can be exploited by an attacker by sending a crafted request to upload a file to the vulnerable server that uses a Jakarta-based plugin to process the upload request.\r\n\r\nThe attacker can then send malicious code in the `Content-Type`, `Content-Disposition` or `Content-Length` HTTP headers, which will then be executed by the vulnerable server. [A proof of concept](https://github.com/tengzhangchao/Struts2_045-Poc) that demonstrates the attack scenario is publicly available and the vulnerability is being [actively exploited in the wild](https://www.theregister.co.uk/2017/03/09/apache_under_attack_patch_for_zero_day_available/).\r\n\r\nAlthough maintainers of the open source project immediately patched the vulnerability, Struts servers that have yet to install the update remain under attack by hackers who exploit it to inject commands of their choice.\r\n\r\nThis attack can be achieved without authentication. To make matters worse, web applications don't necessarily need to successfully upload a malicious file to exploit this vulnerability, as just the presence of the vulnerable Struts library within an application is enough to exploit the vulnerability.\r\n\r\n## Remediation\r\nUpgrade `org.apache.struts:struts2-core` to version 2.3.32, 2.5.10.1 or higher.\n\n## References\n- [CVE Details](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5638)\n- [Exploit DB](https://exploit-db.com/exploits/41614)\n- [Exploit DB](https://www.exploit-db.com/exploits/41570/)\n- [GitHub Commit](https://github.com/rapid7/metasploit-framework/pull/8072/commits/fc0f63e77471baa40057effaaa8be0f205adc6b7)\n- [GitHub Issue](https://github.com/rapid7/metasploit-framework/issues/8064)\n- [GitHub PR](https://github.com/rapid7/metasploit-framework/pull/8072)\n- [PoC](https://github.com/tengzhangchao/Struts2_045-Poc)\n- [Struts Wiki](https://cwiki.apache.org/confluence/display/WW/S2-045)\n- [Talos Intelligence Blog](http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html)\n",
"disclosureTime": "2017-03-05T22:00:00Z",
"exploit": "Functional",
"fixedIn": [
"2.3.32",
"2.5.10.1"
],
"functions": [
{
"functionId": {
"className": "JakartaMultiPartRequest",
"filePath": "org/apache/struts2/dispatcher/multipart/JakartaMultiPartRequest.java",
"functionName": "buildErrorMessage"
},
"version": [
"[2.3.5, 2.3.32)"
]
},
{
"functionId": {
"className": "FileUploadInterceptor",
"filePath": "org/apache/struts2/interceptor/FileUploadInterceptor.java",
"functionName": "intercept"
},
"version": [
"[2.5.0, 2.5.10.1)"
]
}
],
"functions_new": [
{
"functionId": {
"className": "org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest",
"functionName": "buildErrorMessage"
},
"version": [
"[2.3.5, 2.3.32)"
]
},
{
"functionId": {
"className": "org.apache.struts2.interceptor.FileUploadInterceptor",
"functionName": "intercept"
},
"version": [
"[2.5.0, 2.5.10.1)"
]
}
],
"id": "SNYK-JAVA-ORGAPACHESTRUTS-30207",
"identifiers": {
"CVE": [
"CVE-2017-5638"
],
"CWE": [
"CWE-94"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "struts2-core",
"groupId": "org.apache.struts"
},
"modificationTime": "2020-02-12T14:38:11.454392Z",
"moduleName": "org.apache.struts:struts2-core",
"packageManager": "maven",
"packageName": "org.apache.struts:struts2-core",
"patches": [],
"proprietary": false,
"publicationTime": "2017-03-21T15:30:44Z",
"references": [
{
"title": "CVE Details",
"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5638"
},
{
"title": "Exploit DB",
"url": "https://exploit-db.com/exploits/41614"
},
{
"title": "Exploit DB",
"url": "https://www.exploit-db.com/exploits/41570/"
},
{
"title": "GitHub Commit",
"url": "https://github.com/rapid7/metasploit-framework/pull/8072/commits/fc0f63e77471baa40057effaaa8be0f205adc6b7"
},
{
"title": "GitHub Issue",
"url": "https://github.com/rapid7/metasploit-framework/issues/8064"
},
{
"title": "GitHub PR",
"url": "https://github.com/rapid7/metasploit-framework/pull/8072"
},
{
"title": "PoC",
"url": "https://github.com/tengzhangchao/Struts2_045-Poc"
},
{
"title": "Struts Wiki",
"url": "https://cwiki.apache.org/confluence/display/WW/S2-045"
},
{
"title": "Talos Intelligence Blog",
"url": "http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html"
}
],
"semver": {
"vulnerable": [
"[2.3.7, 2.3.32)",
"[2.5.0, 2.5.10.1)"
]
},
"severity": "high",
"title": "Arbitrary Code Execution",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "org.apache.struts:struts2-core",
"version": "2.3.20"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C",
"alternativeIds": [],
"creationTime": "2017-02-22T07:28:23.315000Z",
"credit": [
"Unknown"
],
"cvssScore": 8.1,
"description": "## Overview\n[org.apache.struts:struts2-core](https://github.com/apache/struts) is a popular open-source framework for developing web applications in the Java programming language.\n\nAffected versions of this package are vulnerable to Command Injection. When Dynamic Method Invocation was enabled, a remote attackers could execute arbitrary code via the prefix method, related to chained expressions.\n## Remediation\nUpgrade `org.apache.struts:struts2-core` to version 2.3.20.2, 2.3.24.2, 2.3.28.1 or higher.\n## References\n- [Exploit DB](https://exploit-db.com/exploits/39756)\n- [GitHub Commit](https://github.com/apache/struts/commit/f238cf4f1091be19fbcfd086b042c86a1bcaa7fc)\n- [NVD](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3081)\n",
"disclosureTime": "2016-04-22T04:32:51Z",
"exploit": "High",
"fixedIn": [
"2.3.20.2",
"2.3.24.2",
"2.3.28.1"
],
"functions": [],
"functions_new": [],
"id": "SNYK-JAVA-ORGAPACHESTRUTS-30770",
"identifiers": {
"CVE": [
"CVE-2016-3081"
],
"CWE": [
"CWE-77"
]
},
"language": "java",
"mavenModuleName": {
"artifactId": "struts2-core",
"groupId": "org.apache.struts"
},
"modificationTime": "2020-06-12T14:37:05.172858Z",
"moduleName": "org.apache.struts:struts2-core",
"packageManager": "maven",
"packageName": "org.apache.struts:struts2-core",
"patches": [],
"proprietary": false,
"publicationTime": "2016-04-22T04:32:51Z",
"references": [
{
"title": "Exploit DB",
"url": "https://exploit-db.com/exploits/39756"
},
{
"title": "GitHub Commit",
"url": "https://github.com/apache/struts/commit/f238cf4f1091be19fbcfd086b042c86a1bcaa7fc"
},
{
"title": "NVD",
"url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3081"
}
],
"semver": {
"vulnerable": [
"[2.0.0, 2.3.20.2)",
"[2.3.24, 2.3.24.2)",
"[2.3.28, 2.3.28.1)"
]
},
"severity": "high",
"title": "Command Injection",
"reachability": "no-info",
"from": [
"io.github.snyk:[email protected]",
"io.github.snyk:[email protected]",
"org.apache.struts:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "org.apache.struts:struts2-core",
"version": "2.3.20"
},
{
"CVSSv3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"alternativeIds": [],
"creationTime": "2017-02-22T07:28:23.327000Z",
"credit": [
"Unknown"
],
"cvssScore": 9.8,
"description": "## Overview\n[`org.apache.struts:struts2-core`](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22struts2-core%22) is a free open-source solution for creating Java web applications.\n\nAffected versions of this package are vulnerable to Arbitrary Code Execution. It allows remote attackers to execute arbitrary code via the stylesheet location parameter.\n\n## Remediation\nUpgrade `org.apache.struts:struts2-core` to version 2.3.20.2, 2.3.24.2, 2.3.28.1 or higher.\n\n## References\n- [NVD](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3082)",