-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScan.php
More file actions
1092 lines (600 loc) · 62.3 KB
/
Scan.php
File metadata and controls
1092 lines (600 loc) · 62.3 KB
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
<?php
if(isset( $_SESSION['projectName']))
{
$wr=$_SESSION['projectName'];
if (!file_exists($wr))
{
mkdir( $_SESSION['projectName'], 0777, true);
}
else
{
}
chdir($_SESSION['search']);
$workDir=getcwd();
$conFile = scandir($workDir);
//print_r($conFile);
$page=$_POST['page'];
$val=array_search($page,$conFile);
$typeChkLines = file($conFile[$val]);
}
?>
<?php
//php file including strated
include 'config.php';
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>
Pronoxis By Decrypter
</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<link href="assets/fonts/product-sans/Product%20Sans%20Regular.ttf" rel="stylesheet">
<link href="assets/helvetica/HELR45W.ttf" rel="stylesheet">
<!-- CSS Files -->
<link href="assets/css/material-dashboard.css?v=2.1.0" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css">
</head>
<body class="">
<!-- Navbar -->
<nav class="navbar navbar-light navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="#" style="background-image:url(assets/img/logo.png);background-position: center;background-size: contain;background-repeat: no-repeat">                           </a>
<button data-toggle="collapse" data-target="#navcol-1" class="navbar-toggler">
<span class="sr-only">Toggle navigation</span>
<span class="navbar-toggler-icon"></span>
<span class="navbar-toggler-icon"></span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse"
id="navcol-1">
<form class="form-inline ml-auto"><button class="btn btn-link" type="button" style="color: black;font-family: 'Product Sans', sans-serif;">Source Code  <i class="fa fa-github"></i></button></form>
</div>
</div>
</nav>
<!-- Alert docx decomment it -->
<!-- <div role="alert" class="alert alert-success"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true"><i class="material-icons">close</i></span></button><span><strong>Please upload only 10 file per scan .</strong></span></div>-->
<!-- End Navbar -->
<div class="content">
<div class="container-fluid">
<div class="container">
<h3 style="font-family: 'Product Sans', sans-serif;">Report of Pronoxis</h3>
</div>
<div class="float-none">
</div>
<div class="card">
<div class="card-body">
<h3 style="font-family: 'Product Sans', sans-serif;"><?php echo $page; ?>Vulnerabilties</h3>
<div >
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Sql Injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="https://www.owasp.org/index.php/SQL_Injection">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'dba_open'=SQLinjection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="One traditional approach to prevent SQL injection attacks is to handle them as an input validation problem and either accept only characters from a whitelist of safe values or identify and escape a blacklist of potentially malicious values. Whitelisting can be a very effective means of enforcing strict input validation rules but parameterized SQL statements require less maintenance and can offer more guarantees with respect to security. As is almost always the case, blacklisting is riddled with loopholes that make it ineffective at preventing SQL injection attacks.
Another solution commonly proposed for dealing with SQL injection attacks is to use stored procedures. " style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="The platform affected can be:
Language: SQL
Platform: Any (requires interaction with a SQL database)
SQL Injection has become a common issue with database-driven web sites. The flaw is easily detected, and easily exploited, and as such, any site or software package with even a minimal user base is likely to be subject to an attempted attack of this kind.
Essentially, the attack is accomplished by placing a meta character into data input to then place SQL commands in the control plane, which did not exist there before. This flaw depends on the fact that SQL makes no real distinction between the control and data planes.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="SQL injection errors occur when:
*Data enters a program from an untrusted source.
*The data used to dynamically construct a SQL query
The main consequences are:
Confidentiality: Since SQL databases generally hold sensitive data, loss of confidentiality is a frequent problem with SQL Injection vulnerabilities.
Authentication: If poor SQL commands are used to check user names and passwords, it may be possible to connect to a system as another user with no previous knowledge of the password.
Authorization: If authorization information is held in a SQL database, it may be possible to change this information through the successful exploitation of a SQL Injection vulnerability.
Integrity: Just as it may be possible to read sensitive information, it is also possible to make changes or even delete this information with a SQL Injection attack. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No sql Details</p>
<?php sqlInjection(); ?>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Cross-site scripting </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'echo'=Cross-site Scripting" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content=" It's crucial that you turn off HTTP TRACE support on all web servers. An attacker can steal cookie data via Javascript even when document.cookie is disabled or not supported by the client. This attack is mounted when a user posts a malicious script to a forum so when another user clicks the link, an asynchronous HTTP Trace call is triggered which collects the user's cookie information from the server, and then sends it over to another malicious server that collects the cookie information so the attacker can mount a session hijack attack. This is easily mitigated by removing support for HTTP TRACE on all web server" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="XSS can cause a variety of problems for the end user that range in severity from an annoyance to complete account compromise. The most severe XSS attacks involve disclosure of the user’s session cookie, allowing an attacker to hijack the user’s session and take over the account. Other damaging attacks include the disclosure of end user files, installation of Trojan horse programs, redirect the user to some other page or site, or modify presentation of content.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="Cross-Site Scripting (XSS) attacks occur when:
Data enters a Web application through an untrusted source, most frequently a web request.
The data is included in dynamic content that is sent to a web user without being validated for malicious content. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php xssExecute();?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Xpath Injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'xpath_eval'=Xpath Injection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="There is a need to use a parameterized XPath interface if one is available, or escape the user input to make it safe to include in a dynamically constructed query. Using quotes to terminate untrusted input in a dynamically constructed XPath query can lead to the attack so there is a need to escape that quote in the untrusted input to ensure the untrusted data can't try to break out of that quoted context." style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="XPath Injection attacks occur when a web site uses user-supplied information to construct an XPath query for XML data.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="XPath Injection attacks occur when a web site uses user-supplied information to construct an XPath query for XML data. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No xss Details</p>
<p><?php xPath();?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Code Injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+''=Code Injection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="These types of vulnerabilities can range from very hard to find, to easy to find If found, are usually moderately hard to exploit, depending of scenario If successfully exploited, impact could cover loss of confidentiality, loss of integrity, loss of availability, and/or loss of accountability.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content=" These types of attacks are usually made possible due to a lack of proper input/output data validation, for example: allowed characters (standard regular expressions classes or custom) data format
amount of expected data . " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php codeExec(); ?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
HTTP Response Splitting</div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'header'=HTTP response Splitting" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Testing on the platform of concern to see if the underlying platform allows for CR or LF characters to be injected into headers. In general, this vulnerability has been fixed in most modern application servers, regardless of what language the code has been written in. " style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="To mount a successful exploit, the application must allow input that contains CR (carriage return, also given by %0d or \r) and LF (line feed, also given by %0a or \n)characters into the header AND the underlying platform must be vulnerable to the injection of such characters. These characters not only give attackers control of the remaining headers and body of the response the application intends to send, but also allow them to create additional responses entirely under their control.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="HTTP response splitting occurs when: Data enters a web application through an untrusted source, most frequently an HTTP request. The data is included in an HTTP response header sent to a web user without being validated for malicious characters. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php HttpResponce();?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
LDAP Injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'ldap_add'=LDAP Injection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Input Validation : All user-end input must be sanitized. It should be free of suspicious characters and strings that can be malicious.
" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="Authentication bypass ,Privilege escalation,Information disclosure
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="Injects LDAP (Lightweight Directory Access Protocol) statements to execute arbitrary LDAP commands including granting permissions and modifying the contents of an LDAP tree. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php LDAPInjec();?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Session fixation </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'setcookie'=Session Fixation" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="There is a need to use a parameterized XPath interface if one is available, or escape the user input to make it safe to include in a dynamically constructed query. Using quotes to terminate untrusted input in a dynamically constructed XPath query can lead to the attack so there is a need to escape that quote in the untrusted input to ensure the untrusted data can't try to break out of that quoted context." style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="XPath Injection attacks occur when a web site uses user-supplied information to construct an XPath query for XML data.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="There are several techniques to execute the attack; it depends on how the Web application deals with session tokens.
Below are some of the most common techniques:
• Session token in the URL argument: The Session ID is sent to the victim in a hyperlink and the victim accesses the site through the malicious URL.
• Session token in a hidden form field: In this method, the victim must be tricked to authenticate in the target Web Server, using a login form developed for the attacker. The form could be hosted in the evil web server or directly in html formatted e-mail.
• Session ID in a cookie:Client-side script " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php sessionFix(); ?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
PHP object injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values='unserialize'=PHP Object Injection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Do not use unserialize() function with user-supplied input, use JSON functions instead." style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="In order to successfully exploit a PHP Object Injection vulnerability two conditions must be met:The application must have a class which implements a PHP magic method (such as __wakeup or __destruct) that can be used to carry out malicious attacks, or to start a POP chain.
All of the classes used during the attack must be declared when the vulnerable unserialize() is being called, otherwise object autoloading must be supported for such classes.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="The vulnerability occurs when user-supplied input is not properly sanitized before being passed to the unserialize() PHP function. Since PHP allows object serialization, attackers could pass ad-hoc serialized strings to a vulnerable unserialize() call, resulting in an arbitrary PHP object(s) injection into the application scope. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No SEssion Details</p>
<p><?php objInjection(); ?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
File inclusion </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'include'=File Inclusion" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="avoid passing user-submitted input to any filesystem/framework API. If this is not possible the application can maintain a white list of files, that may be included by the page, and then use an identifier (for example the index number) to access to the selected file. Any request containing an invalid identifier has to be rejected, in this way there is no attack surface for malicious users to manipulate the path. " style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="Code execution on the web server Code execution on the client-side such as JavaScript which can lead to other attacks such as cross site scripting (XSS) ,Denial of Service (DoS) Sensitive Information Disclosure
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="This issue is occurred when an application builds a path to executable code using an attacker-controlled variable in a way that allows the attacker to control which file is executed at run time. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Details</p>
<p><?php fileIncl(); ?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
file manipulation </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'bzwrite'=File Manipulation" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Avoiding this kind of vulnerability is similar to avoiding a local file upload vulnerability:Only allow specific file extensions.
Only allow authorized and authenticated users to use the feature.
Check any file fetched from the Web for content.
Make sure it is actually an image or whatever file type you expect.
" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="Code execution on the web server.Code execution on the client-side such as JavaScript which can lead to other attacks such as cross site scripting (XSS)
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="This attack occurs when:
an application allows a user to upload a malicious file directly which is then executed.
an application uses user input to fetch a remote file from a site on the Internet and store it locally. This file is then executed by an attacker. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No Manip</p>
<p> <?php fileManip(); ?></p>
</div>
</div>
</div>
</div>
</div>
<!--
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Reflection injection </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'event_buffer_new'=Reflection injection" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Validate input: Use vigorous whitelist style input checking of any input received from the user.
Use signed certificates: Use strongly signed assemblies only, only load a class if it passes this check.
" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="Attackers may be able to view or modify which classes are used or even run arbitrary code.
Execution of arbitrary code.
Bypass of security controls.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="Reflection vulnerabilities occur when a website outputs a variable from the webpage URL directly to the page, such as in a PHP application that accepts parameters and displays them on screen. If javascript code is passed into the PHP script and output to the page, the browser may be tricked into treating it like other javascript and executing it.
s " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No File Refle</p>
</div>
</div>
</div>
</div>
</div>
-->
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
File disclosure </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'bzread'=File disclosure" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Save the file paths in a database and assign an ID to each of them. By doing so, users only see the ID and are not able to view or change the path. Use a whitelist of filenames and ignore every other filename and path. Instead of including files on the web server, store their content in databases where possible.
" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="left" title="Risk Factors" data-content="If the webroot is getting leaked, attackers may abuse the knowledge and use it in combination with file inclusion vulnerabilites to steal configuration files regarding the web application or the rest of the operating system.
" style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="bottom" title="Occurence" data-content="A sensitive file exposure vulnerability is a situation which occurs when a file that is supposed to be private is accessible to the outside world via web server. " style="background-color: #E12E6D"><i class="material-icons">bug_report</i>
</button>
</div>
<h3>  Vulnerable Code</h3>
<div class="card-body">
<p style="color: #e83c3c"> No File Dis Details</p>
<p><?php fileDisVuln();?></p>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-left" data-bs-hover-animate="pulse">
<div class="card-header card-header-icon card-header-rose" >
<div class="card-icon" style="font-family: 'Product Sans', sans-serif;">
Command execution </div>
<div class="dropdown float-right">
<button class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false" type="button" style="background-color: #E53571">More</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item" role="presentation" href="#">How PRONOXIS found </a>
<a class="dropdown-item" role="presentation" href="#">More about this Attack </a>
<a class="dropdown-item" role="presentation" href="#">How to hack this </a>
<a class="dropdown-item" role="presentation" href="#"> More...</a> </div>
</div>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="top" title="Code" data-content="user-input values+'backticks'=Command execution" style="background-color: #E12E6D"><i class="material-icons">code</i>
</button>
<button class="btn btn-primary btn-fab btn-fab-mini btn-round float-right" type="button" data-toggle="popover" data-placement="right" title="Prevention" data-content="Perform proper input validation Con" style="background-color: #E12E6D"><i class="material-icons">security</i>
</button>