|
| 1 | +{ |
| 2 | + "version": "14.0.4", |
| 3 | + "vulnerabilities": [ |
| 4 | + { |
| 5 | + "id": "cccabffcfcf176e47f9138d7fbd763a83b310b071529b687cde3537a935cf251", |
| 6 | + "category": "sast", |
| 7 | + "name": "Spring CSRF unrestricted RequestMapping", |
| 8 | + "message": "Spring CSRF unrestricted RequestMapping", |
| 9 | + "description": "Unrestricted Spring's RequestMapping makes the method vulnerable to CSRF attacks", |
| 10 | + "cve": "86d80cd1d198812fc1ba6860a9e965e1:SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING:src/main/java/pl/com/abc/example/springbootabcexample/PingController.java:23", |
| 11 | + "severity": "Medium", |
| 12 | + "confidence": "High", |
| 13 | + "scanner": { |
| 14 | + "id": "find_sec_bugs", |
| 15 | + "name": "Find Security Bugs" |
| 16 | + }, |
| 17 | + "location": { |
| 18 | + "file": "src/main/java/pl/com/abc/example/springbootabcexample/PingController.java", |
| 19 | + "start_line": 23, |
| 20 | + "class": "pl.com.abc.example.springbootabcexample.PingController", |
| 21 | + "method": "ping" |
| 22 | + }, |
| 23 | + "identifiers": [ |
| 24 | + { |
| 25 | + "type": "find_sec_bugs_type", |
| 26 | + "name": "Find Security Bugs-SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING", |
| 27 | + "value": "SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING", |
| 28 | + "url": "https://find-sec-bugs.github.io/bugs.htm#SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING" |
| 29 | + }, |
| 30 | + { |
| 31 | + "type": "cwe", |
| 32 | + "name": "CWE-352", |
| 33 | + "value": "352", |
| 34 | + "url": "https://cwe.mitre.org/data/definitions/352.html" |
| 35 | + } |
| 36 | + ] |
| 37 | + }, |
| 38 | + { |
| 39 | + "id": "db914ce5737b49650ae650fc3b0fe38a531eadd8ea780f48a013419c4adec7f0", |
| 40 | + "category": "sast", |
| 41 | + "name": "Found Spring endpoint", |
| 42 | + "message": "Found Spring endpoint", |
| 43 | + "description": "pl.com.abc.example.springbootabcexample.PingController is a Spring endpoint (Controller)", |
| 44 | + "cve": "21254b1dfdebd6b8bbd05e4ed8a960c3:SPRING_ENDPOINT:src/main/java/pl/com/abc/example/springbootabcexample/PingController.java:23", |
| 45 | + "severity": "Low", |
| 46 | + "confidence": "Low", |
| 47 | + "scanner": { |
| 48 | + "id": "find_sec_bugs", |
| 49 | + "name": "Find Security Bugs" |
| 50 | + }, |
| 51 | + "location": { |
| 52 | + "file": "src/main/java/pl/com/abc/example/springbootabcexample/PingController.java", |
| 53 | + "start_line": 23, |
| 54 | + "class": "pl.com.abc.example.springbootabcexample.PingController", |
| 55 | + "method": "ping" |
| 56 | + }, |
| 57 | + "identifiers": [ |
| 58 | + { |
| 59 | + "type": "find_sec_bugs_type", |
| 60 | + "name": "Find Security Bugs-SPRING_ENDPOINT", |
| 61 | + "value": "SPRING_ENDPOINT", |
| 62 | + "url": "https://find-sec-bugs.github.io/bugs.htm#SPRING_ENDPOINT" |
| 63 | + } |
| 64 | + ] |
| 65 | + }, |
| 66 | + { |
| 67 | + "id": "f4e1ee2a65c5d8837cfe6e3b16fc368f23462596f41ca15b182625a259a58baf", |
| 68 | + "category": "sast", |
| 69 | + "name": "Found Spring endpoint", |
| 70 | + "message": "Found Spring endpoint", |
| 71 | + "description": "pl.com.abc.example.springbootabcexample.FakeErrorController is a Spring endpoint (Controller)", |
| 72 | + "cve": "62a35767e47f86da1958c888ab0ddb98:SPRING_ENDPOINT:src/main/java/pl/com/abc/example/springbootabcexample/FakeErrorController.java:16", |
| 73 | + "severity": "Low", |
| 74 | + "confidence": "Low", |
| 75 | + "scanner": { |
| 76 | + "id": "find_sec_bugs", |
| 77 | + "name": "Find Security Bugs" |
| 78 | + }, |
| 79 | + "location": { |
| 80 | + "file": "src/main/java/pl/com/abc/example/springbootabcexample/FakeErrorController.java", |
| 81 | + "start_line": 16, |
| 82 | + "class": "pl.com.abc.example.springbootabcexample.FakeErrorController", |
| 83 | + "method": "getDomainError" |
| 84 | + }, |
| 85 | + "identifiers": [ |
| 86 | + { |
| 87 | + "type": "find_sec_bugs_type", |
| 88 | + "name": "Find Security Bugs-SPRING_ENDPOINT", |
| 89 | + "value": "SPRING_ENDPOINT", |
| 90 | + "url": "https://find-sec-bugs.github.io/bugs.htm#SPRING_ENDPOINT" |
| 91 | + } |
| 92 | + ] |
| 93 | + }, |
| 94 | + { |
| 95 | + "id": "e5104af1e9b781ffa19a0f9299e9c44bb62b3dd62c4483e9f2e087dc03e8cd95", |
| 96 | + "category": "sast", |
| 97 | + "name": "HTTP headers untrusted", |
| 98 | + "message": "HTTP headers untrusted", |
| 99 | + "description": "Request header can easily be altered by the client", |
| 100 | + "cve": "6b0c63f9593aecd2ad80afdc4a85656d:SERVLET_HEADER:src/main/java/pl/com/abc/example/springbootabcexample/PingController.java:50", |
| 101 | + "severity": "Low", |
| 102 | + "confidence": "Low", |
| 103 | + "scanner": { |
| 104 | + "id": "find_sec_bugs", |
| 105 | + "name": "Find Security Bugs" |
| 106 | + }, |
| 107 | + "location": { |
| 108 | + "file": "src/main/java/pl/com/abc/example/springbootabcexample/PingController.java", |
| 109 | + "start_line": 50, |
| 110 | + "class": "pl.com.abc.example.springbootabcexample.PingController$IpAddressUtils", |
| 111 | + "method": "getIpAddressFromRequest" |
| 112 | + }, |
| 113 | + "identifiers": [ |
| 114 | + { |
| 115 | + "type": "find_sec_bugs_type", |
| 116 | + "name": "Find Security Bugs-SERVLET_HEADER", |
| 117 | + "value": "SERVLET_HEADER", |
| 118 | + "url": "https://find-sec-bugs.github.io/bugs.htm#SERVLET_HEADER" |
| 119 | + } |
| 120 | + ] |
| 121 | + }, |
| 122 | + { |
| 123 | + "id": "dd623e3dafc27991b80b00c2b38b8ec69ef4b2635a5838622b3efb921e2cbfac", |
| 124 | + "category": "sast", |
| 125 | + "name": "Found Spring endpoint", |
| 126 | + "message": "Found Spring endpoint", |
| 127 | + "description": "pl.com.softnet.example.springbootsoftnetexample.FakeErrorController is a Spring endpoint (Controller)", |
| 128 | + "cve": "8e968b3dea7c8b68b43c07ab9b37c120:SPRING_ENDPOINT:src/main/java/pl/com/softnet/example/springbootsoftnetexample/FakeErrorController.java:11", |
| 129 | + "severity": "Low", |
| 130 | + "confidence": "Low", |
| 131 | + "scanner": { |
| 132 | + "id": "find_sec_bugs", |
| 133 | + "name": "Find Security Bugs" |
| 134 | + }, |
| 135 | + "location": { |
| 136 | + "file": "src/main/java/pl/com/softnet/example/springbootsoftnetexample/FakeErrorController.java", |
| 137 | + "start_line": 11, |
| 138 | + "class": "pl.com.softnet.example.springbootsoftnetexample.FakeErrorController", |
| 139 | + "method": "getSomeFakeError" |
| 140 | + }, |
| 141 | + "identifiers": [ |
| 142 | + { |
| 143 | + "type": "find_sec_bugs_type", |
| 144 | + "name": "Find Security Bugs-SPRING_ENDPOINT", |
| 145 | + "value": "SPRING_ENDPOINT", |
| 146 | + "url": "https://find-sec-bugs.github.io/bugs.htm#SPRING_ENDPOINT" |
| 147 | + } |
| 148 | + ] |
| 149 | + } |
| 150 | + ], |
| 151 | + "scan": { |
| 152 | + "analyzer": { |
| 153 | + "id": "spotbugs", |
| 154 | + "name": "Spotbugs", |
| 155 | + "vendor": { |
| 156 | + "name": "GitLab" |
| 157 | + }, |
| 158 | + "version": "3.2.1" |
| 159 | + }, |
| 160 | + "scanner": { |
| 161 | + "id": "find_sec_bugs", |
| 162 | + "name": "Find Security Bugs", |
| 163 | + "url": "https://spotbugs.github.io", |
| 164 | + "vendor": { |
| 165 | + "name": "GitLab" |
| 166 | + }, |
| 167 | + "version": "4.7.0" |
| 168 | + }, |
| 169 | + "type": "sast", |
| 170 | + "start_time": "2022-08-04T05:31:38", |
| 171 | + "end_time": "2022-08-04T05:32:16", |
| 172 | + "status": "success" |
| 173 | + } |
| 174 | +} |
0 commit comments