Repository navigation
Expand file tree
/
Copy pathsample_results.json
More file actions
955 lines (955 loc) · 33.9 KB
/
Copy pathsample_results.json
File metadata and controls
955 lines (955 loc) · 33.9 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
{
"audit_id": "EXAMPLE000001",
"generated_at": "2026-01-01T00:00:00+00:00",
"tool_version": "0.1.0",
"metadata": {
"base_url": "https://api.lab.local",
"dry_run": false,
"requests_made": 52,
"disabled_checks": [],
"identities": [
{
"name": "user_a",
"role": "user",
"anonymous": false,
"headers": [
"Authorization"
]
},
{
"name": "admin",
"role": "admin",
"anonymous": false,
"headers": [
"Authorization"
]
}
]
},
"summary": {
"INFO": 5,
"LOW": 15,
"MEDIUM": 10,
"HIGH": 6,
"CRITICAL": 2
},
"findings": [
{
"check_id": "BOLA-CONFIRMED",
"title": "Broken Object Level Authorization: order #1 (user_a)",
"severity": "CRITICAL",
"confidence": "HIGH",
"status": "confirmed",
"description": "Identity 'admin' successfully retrieved user_a's object (HTTP 200) and the owner-specific discriminator 'SECRET-ORDER-1' was present in the response.",
"owasp_refs": [
"API1:2023"
],
"target": "https://api.lab.local/orders/1",
"evidence": {
"owner": {
"name": "user_a",
"role": "user",
"anonymous": false,
"headers": [
"Authorization"
]
},
"attacker": {
"name": "admin",
"role": "admin",
"anonymous": false,
"headers": [
"Authorization"
]
},
"status_code": 200,
"discriminator_found": true,
"occurrences": 1
},
"recommendation": "Enforce object-level ownership checks on every object access, server-side.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "0b0e8f368a03579a"
},
{
"check_id": "JWT-ALG-NONE",
"title": "JWT declares 'alg: none' (unsigned)",
"severity": "CRITICAL",
"confidence": "HIGH",
"status": "confirmed",
"description": "The token's header declares the 'none' algorithm, meaning it carries no signature. If the server accepts such tokens, anyone can forge arbitrary claims. This is a structural fact about the token header.",
"owasp_refs": [
"API2:2023"
],
"target": null,
"evidence": {
"alg": "none",
"segments": 3,
"occurrences": 1
},
"recommendation": "Reject 'none' server-side; pin an allow-list of strong algorithms.",
"manual_verification": "Confirm the server actually accepts this token (vs. rejecting 'none').",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "0ee7c98d2658bf10"
},
{
"check_id": "CORS-ORIGIN-REFLECTION",
"title": "CORS reflects an arbitrary Origin",
"severity": "HIGH",
"confidence": "HIGH",
"status": "confirmed",
"description": "The server reflected the attacker-supplied Origin 'https://evil.example.com' into Access-Control-Allow-Origin WITH credentials enabled, allowing cross-origin credentialed reads.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/me",
"evidence": {
"reflected_origin": "https://evil.example.com",
"access-control-allow-credentials": "true",
"occurrences": 1
},
"recommendation": "Validate Origin against a strict allow-list; do not reflect arbitrary origins.",
"manual_verification": "Confirm a sensitive, cookie-authenticated endpoint is reachable via this CORS policy.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "6da9348a4deef630"
},
{
"check_id": "LEAK-AWS-ACCESS-KEY-ID",
"title": "Possible AWS access key id in response",
"severity": "HIGH",
"confidence": "HIGH",
"status": "confirmed",
"description": "The response from https://api.lab.local/debug/config contains 1 match(es) for 'AWS access key id'. Confirm whether this data should be returned to this caller and whether it is real (not seeded test data).",
"owasp_refs": [
"API3:2023"
],
"target": "https://api.lab.local/debug/config",
"evidence": {
"pattern": "AWS access key id",
"count": 1,
"sample": "AKI…LE (len=20)",
"occurrences": 1
},
"recommendation": "Remove sensitive values from responses; return only authorised, minimal fields.",
"manual_verification": "Inspect the raw response and confirm the value is a real secret/PII, not a fixture.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "1137c785fe7dd598"
},
{
"check_id": "AUTH-ANON-ACCESS",
"title": "Protected route returned success without authentication",
"severity": "HIGH",
"confidence": "MEDIUM",
"status": "suspected",
"description": "A GET request to https://api.lab.local/me with no credentials returned HTTP 200. The route was declared as protected, so this may indicate missing authentication — but confirm the response actually contains protected data and is not a public placeholder.",
"owasp_refs": [
"API2:2023"
],
"target": "https://api.lab.local/me",
"evidence": {
"anonymous_status": 200,
"body_length": 82,
"occurrences": 1
},
"recommendation": "Require and verify authentication before serving this route.",
"manual_verification": "Inspect the anonymous response body: does it expose data that should require login?",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "e00ada494f5d9dd3"
},
{
"check_id": "AUTH-INVALID-TOKEN-ACCEPTED",
"title": "Invalid credential accepted",
"severity": "HIGH",
"confidence": "MEDIUM",
"status": "suspected",
"description": "https://api.lab.local/orders/1 returned HTTP 200 when presented with a clearly invalid bearer token, while a different response was expected. The token may not be validated.",
"owasp_refs": [
"API2:2023"
],
"target": "https://api.lab.local/orders/1",
"evidence": {
"invalid_status": 200,
"occurrences": 1
},
"recommendation": "Validate token signature, expiry and audience server-side.",
"manual_verification": "Repeat with several malformed tokens; confirm the data returned is genuinely protected.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "2af053ac06effe58"
},
{
"check_id": "BFLA-ACCESS",
"title": "Low-privilege identity invoked privileged function: admin user listing",
"severity": "HIGH",
"confidence": "MEDIUM",
"status": "suspected",
"description": "'user_a' (role=user) received HTTP 200 on a route declared as privileged. A high-role baseline also succeeded, supporting that this is a real function.",
"owasp_refs": [
"API5:2023"
],
"target": "GET https://api.lab.local/admin/users",
"evidence": {
"low_role": {
"name": "user_a",
"role": "user",
"anonymous": false,
"headers": [
"Authorization"
]
},
"status_code": 200,
"occurrences": 1
},
"recommendation": "Enforce role checks at the function/endpoint level, server-side.",
"manual_verification": "Confirm the action actually executed with low-role privileges (side effects).",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "b402f8f3994ad348"
},
{
"check_id": "EXPOSURE-FILE",
"title": "Exposed Environment file: /.env",
"severity": "HIGH",
"confidence": "MEDIUM",
"status": "confirmed",
"description": "/.env returned HTTP 200 (application/json). This path is reachable and should be reviewed for whether it belongs on this surface.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/.env",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"catch_all_baseline": false,
"occurrences": 1
},
"recommendation": "Never serve dotfiles/VCS metadata; block /.env and /.git at the web server.",
"manual_verification": "Open the path and confirm it exposes sensitive data/functionality.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "20509d2cc3743c6e"
},
{
"check_id": "CONFIG-MISSING-HEADER",
"title": "Missing required security header: strict-transport-security",
"severity": "MEDIUM",
"confidence": "HIGH",
"status": "suspected",
"description": "The response is missing 'strict-transport-security'. APIs served over HTTPS should enforce HSTS to prevent downgrade.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "Set the 'strict-transport-security' header at the API gateway or application layer.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/",
"https://cheatsheetseries.owasp.org/"
],
"fingerprint": "c67889cf00e33416"
},
{
"check_id": "CORS-NULL-ORIGIN",
"title": "CORS allows the 'null' origin",
"severity": "MEDIUM",
"confidence": "HIGH",
"status": "confirmed",
"description": "The server returns 'Access-Control-Allow-Origin: null', which can be forged by sandboxed documents.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/me",
"evidence": {
"access-control-allow-credentials": "true",
"occurrences": 1
},
"recommendation": "Do not allow the 'null' origin.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "135a2b84a84073f8"
},
{
"check_id": "CONFIG-ERROR-LEAK",
"title": "Error response leaks technical details",
"severity": "MEDIUM",
"confidence": "MEDIUM",
"status": "suspected",
"description": "A request to a non-existent path returned a body containing stack-trace / debug markers: ['Traceback (most recent call last)', '/var/www/']. Verbose errors can reveal framework internals.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/__apt_nonexistent_probe__",
"evidence": {
"markers": [
"Traceback (most recent call last)",
"/var/www/"
],
"status_code": 404,
"occurrences": 1
},
"recommendation": "Return generic error bodies in production; disable debug mode.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "3f46f98310fbc958"
},
{
"check_id": "INPUT-SERVER-ERROR",
"title": "Server error on malformed input: invalid_json",
"severity": "MEDIUM",
"confidence": "MEDIUM",
"status": "suspected",
"description": "Case 'invalid_json' (Syntactically invalid JSON) produced HTTP 500. Well-validated APIs reject malformed input with a 4xx, not a 5xx.",
"owasp_refs": [
"API8:2023"
],
"target": "POST https://api.lab.local/items",
"evidence": {
"case": "invalid_json",
"status_code": 500,
"occurrences": 1
},
"recommendation": "Validate and reject malformed input early with a 4xx and a generic message.",
"manual_verification": "Reproduce the case and inspect server logs for unhandled exceptions.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "463aaec7a23cdd10"
},
{
"check_id": "INPUT-ERROR-LEAK",
"title": "Verbose error leak on input case: invalid_json",
"severity": "MEDIUM",
"confidence": "MEDIUM",
"status": "suspected",
"description": "Case 'invalid_json' returned a body with trace markers ['Traceback (most recent call last)'].",
"owasp_refs": [
"API8:2023"
],
"target": "POST https://api.lab.local/items",
"evidence": {
"case": "invalid_json",
"markers": [
"Traceback (most recent call last)"
],
"occurrences": 1
},
"recommendation": "Disable verbose errors/debug mode in production.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "9baef31cf4fe6347"
},
{
"check_id": "JWT-NO-EXP",
"title": "JWT has no expiry (exp) claim",
"severity": "MEDIUM",
"confidence": "MEDIUM",
"status": "suspected",
"description": "The token declares no 'exp'. A non-expiring token is dangerous if leaked.",
"owasp_refs": [
"API2:2023"
],
"target": null,
"evidence": {
"occurrences": 1
},
"recommendation": "Always set a short 'exp'; use refresh tokens for longer sessions.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "bd175933226abc6e"
},
{
"check_id": "EXPOSURE-ACTUATOR",
"title": "Exposed Spring Boot environment: /actuator/env",
"severity": "MEDIUM",
"confidence": "MEDIUM",
"status": "confirmed",
"description": "/actuator/env returned HTTP 200 (application/json). This path is reachable and should be reviewed for whether it belongs on this surface.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/actuator/env",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"catch_all_baseline": false,
"occurrences": 1
},
"recommendation": "Secure or disable actuator endpoints in production; never expose /env.",
"manual_verification": "Open the path and confirm it exposes sensitive data/functionality.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "e284ce75bd5b14d8"
},
{
"check_id": "AUTH-NO-DIFFERENCE",
"title": "Anonymous and authenticated responses are indistinguishable",
"severity": "MEDIUM",
"confidence": "LOW",
"status": "suspected",
"description": "Anonymous and authenticated requests returned the same status and similar size. Authentication may have no effect on this route, or the route is public.",
"owasp_refs": [
"API2:2023"
],
"target": "https://api.lab.local/me",
"evidence": {
"anonymous_status": 200,
"authenticated_status": 200,
"identity": {
"name": "user_a",
"role": "user",
"anonymous": false,
"headers": [
"Authorization"
]
},
"occurrences": 1
},
"recommendation": "",
"manual_verification": "Confirm whether this route is intended to be public.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "3fded13e7b8a61ba"
},
{
"check_id": "BOPLA-EXCESSIVE-EXPOSURE",
"title": "Response exposes sensitive properties: https://api.lab.local/me",
"severity": "MEDIUM",
"confidence": "LOW",
"status": "suspected",
"description": "The response for 'user_a' contains properties that are often sensitive: ['is_admin', 'password_hash', 'role']. Confirm whether this identity should receive these fields.",
"owasp_refs": [
"API3:2023"
],
"target": "https://api.lab.local/me",
"evidence": {
"properties": [
"is_admin",
"password_hash",
"role"
],
"identity": {
"name": "user_a",
"role": "user",
"anonymous": false,
"headers": [
"Authorization"
]
},
"occurrences": 1
},
"recommendation": "Return only properties the caller is authorised to see (allow-list serialisers).",
"manual_verification": "Check whether these fields are necessary for this consumer and role.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "f744debbadd3ad24"
},
{
"check_id": "JWT-ALG-MISMATCH",
"title": "JWT algorithm 'none' differs from expected 'RS256'",
"severity": "MEDIUM",
"confidence": "LOW",
"status": "suspected",
"description": "The token uses a different algorithm than expected. Verify the server validates the algorithm explicitly.",
"owasp_refs": [
"API2:2023"
],
"target": null,
"evidence": {
"alg": "none",
"expected_alg": "RS256",
"occurrences": 1
},
"recommendation": "Pin the exact expected algorithm; never trust the token's 'alg' blindly.",
"manual_verification": "Try presenting a token re-signed with the mismatched alg to the server.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "a95b69922ddbb412"
},
{
"check_id": "CONFIG-MISSING-HEADER",
"title": "Missing recommended security header: x-content-type-options",
"severity": "LOW",
"confidence": "HIGH",
"status": "suspected",
"description": "The response is missing 'x-content-type-options'. Prevents MIME sniffing; cheap and safe to send on JSON APIs.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "Set the 'x-content-type-options' header at the API gateway or application layer.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/",
"https://cheatsheetseries.owasp.org/"
],
"fingerprint": "3ba627df07dcfc31"
},
{
"check_id": "CONFIG-MISSING-HEADER",
"title": "Missing recommended security header: cache-control",
"severity": "LOW",
"confidence": "HIGH",
"status": "suspected",
"description": "The response is missing 'cache-control'. Sensitive API responses should not be cached by intermediaries.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "Set the 'cache-control' header at the API gateway or application layer.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/",
"https://cheatsheetseries.owasp.org/"
],
"fingerprint": "0527e06e7464895d"
},
{
"check_id": "CONFIG-INFO-DISCLOSURE",
"title": "Information disclosure header present: server",
"severity": "LOW",
"confidence": "HIGH",
"status": "suspected",
"description": "The 'server' header discloses software details: 'nginx/1.18.0 (Ubuntu)'.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "Strip the 'server' header at the edge.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "77005a322fcbdf64"
},
{
"check_id": "CONFIG-INFO-DISCLOSURE",
"title": "Information disclosure header present: x-powered-by",
"severity": "LOW",
"confidence": "HIGH",
"status": "suspected",
"description": "The 'x-powered-by' header discloses software details: 'Express'.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "Strip the 'x-powered-by' header at the edge.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "cf7bcb48db5e24a1"
},
{
"check_id": "GRAPHQL-INTROSPECTION",
"title": "GraphQL introspection is enabled",
"severity": "LOW",
"confidence": "HIGH",
"status": "informational",
"description": "The endpoint answered an introspection query. Introspection exposes the full schema. This is often intentional (e.g. for developer tooling) — treat it as an observation and decide based on the API's exposure and sensitivity.",
"owasp_refs": [
"API8:2023",
"API9:2023"
],
"target": "https://api.lab.local/graphql",
"evidence": {
"introspection": true,
"occurrences": 1
},
"recommendation": "Disable introspection on production, internet-facing endpoints if not required.",
"manual_verification": "Decide whether schema disclosure is acceptable for this endpoint's audience.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "b1a38c9f4f3b1177"
},
{
"check_id": "EXPOSURE-DOCS",
"title": "Exposed OpenAPI document: /openapi.json",
"severity": "LOW",
"confidence": "HIGH",
"status": "confirmed",
"description": "/openapi.json returned HTTP 200 (application/json). This path is reachable and should be reviewed for whether it belongs on this surface.",
"owasp_refs": [
"API9:2023"
],
"target": "https://api.lab.local/openapi.json",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"catch_all_baseline": false,
"occurrences": 1
},
"recommendation": "Decide whether public API docs are intended; restrict if the API is private.",
"manual_verification": "Open the path and confirm it exposes sensitive data/functionality.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "41ad3f46593d365d"
},
{
"check_id": "EXPOSURE-DOCS",
"title": "Exposed GraphQL endpoint: /graphql",
"severity": "LOW",
"confidence": "HIGH",
"status": "confirmed",
"description": "/graphql returned HTTP 200 (application/json). This path is reachable and should be reviewed for whether it belongs on this surface.",
"owasp_refs": [
"API9:2023"
],
"target": "https://api.lab.local/graphql",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"catch_all_baseline": false,
"occurrences": 1
},
"recommendation": "Decide whether public API docs are intended; restrict if the API is private.",
"manual_verification": "Open the path and confirm it exposes sensitive data/functionality.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "a6ef49fbb735928a"
},
{
"check_id": "RECON-TECH-HINTS",
"title": "Server exposes technology/version banners",
"severity": "LOW",
"confidence": "MEDIUM",
"status": "suspected",
"description": "Response headers reveal software/version hints that can aid an attacker in fingerprinting the stack: server='nginx/1.18.0 (Ubuntu)'; x-powered-by='Express'",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"headers": {
"server": "nginx/1.18.0 (Ubuntu)",
"x-powered-by": "Express"
},
"occurrences": 1
},
"recommendation": "Remove or genericise Server/X-Powered-By style banners at the gateway.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "366975dfb600cbb0"
},
{
"check_id": "GRAPHQL-ERROR-VERBOSE",
"title": "GraphQL returns verbose error messages",
"severity": "LOW",
"confidence": "MEDIUM",
"status": "suspected",
"description": "An invalid query produced detailed error messages (e.g. field suggestions or traces) that can aid schema discovery even when introspection is off.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local/graphql",
"evidence": {
"has_suggestions": true,
"occurrences": 1
},
"recommendation": "Return generic GraphQL errors in production; disable suggestions.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "033758220d4f2d6a"
},
{
"check_id": "JWT-SENSITIVE-CLAIMS",
"title": "JWT payload carries sensitive claims",
"severity": "LOW",
"confidence": "MEDIUM",
"status": "informational",
"description": "The payload (which is base64-encoded, not encrypted) contains claim(s) ['role']. Anyone holding the token can read them.",
"owasp_refs": [
"API2:2023"
],
"target": null,
"evidence": {
"claims": [
"role"
],
"occurrences": 1
},
"recommendation": "Minimise claims; keep PII/privilege data server-side or in an encrypted (JWE) token.",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "0e93933e1042b88f"
},
{
"check_id": "EXPOSURE-TELEMETRY",
"title": "Exposed Prometheus/metrics endpoint: /metrics",
"severity": "LOW",
"confidence": "MEDIUM",
"status": "confirmed",
"description": "/metrics returned HTTP 200 (application/json). This path is reachable and should be reviewed for whether it belongs on this surface.",
"owasp_refs": [
"API9:2023"
],
"target": "https://api.lab.local/metrics",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"catch_all_baseline": false,
"occurrences": 1
},
"recommendation": "Restrict metrics/debug endpoints to internal networks.",
"manual_verification": "Open the path and confirm it exposes sensitive data/functionality.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "e153753e394b9b4e"
},
{
"check_id": "INVENTORY-SENSITIVE-ROUTE",
"title": "Potentially sensitive route: GET /admin/users",
"severity": "LOW",
"confidence": "LOW",
"status": "informational",
"description": "Route matched sensitive keyword(s) ['admin']. This is a prioritisation hint for manual review, not a vulnerability.",
"owasp_refs": [
"API9:2023"
],
"target": "GET /admin/users",
"evidence": {
"keywords": [
"admin"
],
"secured": true,
"occurrences": 1
},
"recommendation": "",
"manual_verification": "Review access control and exposure of this route manually.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "1131fc1d59a38bbd"
},
{
"check_id": "RATE-NO-SIGNAL",
"title": "No throttling observed in a small bounded burst",
"severity": "LOW",
"confidence": "LOW",
"status": "inconclusive",
"description": "12 request(s) completed without any 429 or rate-limit header. A small burst cannot prove the absence of rate limiting; limits may be higher than the configured, deliberately low, request budget.",
"owasp_refs": [
"API4:2023"
],
"target": "https://api.lab.local/ping",
"evidence": {
"sent": 12,
"avg_latency_ms": 0.2,
"occurrences": 1
},
"recommendation": "Confirm rate limits exist for authentication, costly and write endpoints.",
"manual_verification": "With explicit authorisation, test closer to the documented limit in a staging environment.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "de1324349061e7c5"
},
{
"check_id": "GRAPHQL-DEPTH-LIMIT",
"title": "Nested query accepted (no obvious depth limit)",
"severity": "LOW",
"confidence": "LOW",
"status": "suspected",
"description": "A bounded depth-5 query returned HTTP 200. The server accepted the nested query; a (deliberately bounded) probe cannot prove exploitability, but absence of a limit is worth manual review.",
"owasp_refs": [
"API4:2023"
],
"target": "https://api.lab.local/graphql",
"evidence": {
"depth": 5,
"status_code": 200,
"rejected": false,
"occurrences": 1
},
"recommendation": "",
"manual_verification": "In a lab, measure complexity limits carefully; never stress shared infrastructure.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "706058420d26801c"
},
{
"check_id": "LEAK-EMAIL-ADDRESS",
"title": "Possible Email address in response",
"severity": "LOW",
"confidence": "LOW",
"status": "suspected",
"description": "The response from https://api.lab.local/debug/config contains 1 match(es) for 'Email address'. Confirm whether this data should be returned to this caller and whether it is real (not seeded test data).",
"owasp_refs": [
"API3:2023"
],
"target": "https://api.lab.local/debug/config",
"evidence": {
"pattern": "Email address",
"count": 1,
"sample": "ops…al (len=13)",
"occurrences": 1
},
"recommendation": "Remove sensitive values from responses; return only authorised, minimal fields.",
"manual_verification": "Inspect the raw response and confirm the value is a real secret/PII, not a fixture.",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "8e6e09c2afce9eb4"
},
{
"check_id": "RECON-AVAILABILITY",
"title": "Target responded with HTTP 200",
"severity": "INFO",
"confidence": "HIGH",
"status": "informational",
"description": "https://api.lab.local returned status 200 (application/json).",
"owasp_refs": [],
"target": "https://api.lab.local",
"evidence": {
"status_code": 200,
"content_type": "application/json",
"elapsed_ms": 0.5,
"occurrences": 1
},
"recommendation": "",
"manual_verification": "",
"references": [
"https://owasp.org/www-project-web-security-testing-guide/"
],
"fingerprint": "623d583b12bce3de"
},
{
"check_id": "INVENTORY-SUMMARY",
"title": "Specification describes 5 operation(s)",
"severity": "INFO",
"confidence": "HIGH",
"status": "informational",
"description": "API title: Demo Lab API, version: 1.2.0.",
"owasp_refs": [
"API9:2023"
],
"target": null,
"evidence": {
"operation_count": 5,
"version": "1.2.0",
"occurrences": 1
},
"recommendation": "",
"manual_verification": "",
"references": [
"https://owasp.org/API-Security/editions/2023/en/0x11-t10/"
],
"fingerprint": "57a2357b0370f7bb"
},
{
"check_id": "RECON-METHODS",
"title": "HTTP methods advertised by the server",
"severity": "INFO",
"confidence": "MEDIUM",
"status": "informational",
"description": "The server advertised the following methods via OPTIONS/Allow: GET, OPTIONS",
"owasp_refs": [],
"target": "https://api.lab.local",
"evidence": {
"methods": [
"GET",
"OPTIONS"
],
"occurrences": 1
},
"recommendation": "",
"manual_verification": "Verify that write methods (PUT/DELETE/PATCH) are intended on this route.",
"references": [
"https://owasp.org/www-project-web-security-testing-guide/"
],
"fingerprint": "d3289926fda8795d"
},
{
"check_id": "CONFIG-HEADER-CONTEXTUAL",
"title": "Browser header 'content-security-policy' absent (contextual, likely N/A)",
"severity": "INFO",
"confidence": "MEDIUM",
"status": "informational",
"description": "'content-security-policy' is missing. Primarily a browser control; relevant only if the API serves HTML/docs. This endpoint does not appear to serve HTML, so the header is typically not required for an API.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "",
"manual_verification": "",
"references": [
"https://cheatsheetseries.owasp.org/"
],
"fingerprint": "31440cd2b020be2b"
},
{
"check_id": "CONFIG-HEADER-CONTEXTUAL",
"title": "Browser header 'x-frame-options' absent (contextual, likely N/A)",
"severity": "INFO",
"confidence": "MEDIUM",
"status": "informational",
"description": "'x-frame-options' is missing. Clickjacking control; relevant only for browser-rendered responses. This endpoint does not appear to serve HTML, so the header is typically not required for an API.",
"owasp_refs": [
"API8:2023"
],
"target": "https://api.lab.local",
"evidence": {
"occurrences": 1
},
"recommendation": "",
"manual_verification": "",
"references": [
"https://cheatsheetseries.owasp.org/"
],
"fingerprint": "c1143b1782d3ab89"
}
]
}