-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution:
Done
-
Affects Version/s:
None
-
Fix Version/s:
None
-
-
-
-
Module:
BenAdmin
- Security
-
-
Item State:
Production Complete
-
Issue Importance:
Must Have
Praetorian initially detected a SQL injection vulnerability after submitting a variety of malicious input
parameters to the GetEmployees endpoint. Praetorian used SQL injection payloads that caused the
application to demonstrate a noticeable difference in response time depending on the results of the
provided SQL query.
Page Name: Search Employee
Information Recovered:
SQL Server version number, Database version, Server name
System should not disclose this information to user.
{"report":{"apdex":1,"isInitial":true,"journeyId":"79829a2d-bde4-4285-baa1-4b0670e7dcb6","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":745,"redirectCount":0,"resourceLoadedEnd":585.1000000238419,"resourceLoadedStart":222.79999995231628,"resourceTiming":[{"duration":113.60000002384186,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":222.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":222.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":113.5,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":223,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.5,"responseStart":0,"secureConnectionStart":0},{"duration":113.39999997615814,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":223.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.5,"responseStart":0,"secureConnectionStart":0},{"duration":113.40000009536743,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":223.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":113.5,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":223.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":336.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":122.5,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":223.39999997615814,"connectEnd":223.39999997615814,"connectStart":223.39999997615814,"domainLookupEnd":223.39999997615814,"domainLookupStart":223.39999997615814,"fetchStart":223.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":223.39999997615814,"responseEnd":345.89999997615814,"responseStart":345.89999997615814,"secureConnectionStart":223.39999997615814},{"duration":200.60000002384186,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":223.60000002384186,"connectEnd":223.60000002384186,"connectStart":223.60000002384186,"domainLookupEnd":223.60000002384186,"domainLookupStart":223.60000002384186,"fetchStart":223.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":223.60000002384186,"responseEnd":424.2000000476837,"responseStart":424.2000000476837,"secureConnectionStart":223.60000002384186},{"duration":203.79999995231628,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":223.70000004768372,"connectEnd":223.70000004768372,"connectStart":223.70000004768372,"domainLookupEnd":223.70000004768372,"domainLookupStart":223.70000004768372,"fetchStart":223.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":223.70000004768372,"responseEnd":427.5,"responseStart":427.5,"secureConnectionStart":223.70000004768372},{"duration":204.90000009536743,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":223.79999995231628,"connectEnd":223.79999995231628,"connectStart":223.79999995231628,"domainLookupEnd":223.79999995231628,"domainLookupStart":223.79999995231628,"fetchStart":223.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":223.79999995231628,"responseEnd":428.7000000476837,"responseStart":428.7000000476837,"secureConnectionStart":223.79999995231628},{"duration":205.60000002384186,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":224,"connectEnd":224,"connectStart":224,"domainLookupEnd":224,"domainLookupStart":224,"fetchStart":224,"redirectEnd":0,"redirectStart":0,"requestStart":224,"responseEnd":429.60000002384186,"responseStart":429.60000002384186,"secureConnectionStart":224},{"duration":206.5,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":224.10000002384186,"connectEnd":224.10000002384186,"connectStart":224.10000002384186,"domainLookupEnd":224.10000002384186,"domainLookupStart":224.10000002384186,"fetchStart":224.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":224.10000002384186,"responseEnd":430.60000002384186,"responseStart":430.60000002384186,"secureConnectionStart":224.10000002384186},{"duration":206.89999997615814,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":224.10000002384186,"connectEnd":224.10000002384186,"connectStart":224.10000002384186,"domainLookupEnd":224.10000002384186,"domainLookupStart":224.10000002384186,"fetchStart":224.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":224.10000002384186,"responseEnd":431,"responseStart":431,"secureConnectionStart":224.10000002384186},{"duration":208,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":224.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":432.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":208.30000007152557,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":224.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":432.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":207.60000002384186,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/344f6dde0e779bc821c159302c8a4389/shortcuts.js?context=issuenavigation&context=issueaction","startTime":224.39999997615814,"connectEnd":224.39999997615814,"connectStart":224.39999997615814,"domainLookupEnd":224.39999997615814,"domainLookupStart":224.39999997615814,"fetchStart":224.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":224.39999997615814,"responseEnd":432,"responseStart":432,"secureConnectionStart":224.39999997615814},{"duration":208.20000004768372,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":224.5,"connectEnd":224.5,"connectStart":224.5,"domainLookupEnd":224.5,"domainLookupStart":224.5,"fetchStart":224.5,"redirectEnd":0,"redirectStart":0,"requestStart":224.5,"responseEnd":432.7000000476837,"responseStart":432.7000000476837,"secureConnectionStart":224.5},{"duration":271.89999997615814,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":225.10000002384186,"connectEnd":225.10000002384186,"connectStart":225.10000002384186,"domainLookupEnd":225.10000002384186,"domainLookupStart":225.10000002384186,"fetchStart":225.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":225.10000002384186,"responseEnd":497,"responseStart":497,"secureConnectionStart":225.10000002384186},{"duration":360,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":225.10000002384186,"connectEnd":225.10000002384186,"connectStart":225.10000002384186,"domainLookupEnd":225.10000002384186,"domainLookupStart":225.10000002384186,"fetchStart":225.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":225.10000002384186,"responseEnd":585.1000000238419,"responseStart":585.1000000238419,"secureConnectionStart":225.10000002384186}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":138,"responseStart":217,"responseEnd":218,"domLoading":220,"domInteractive":825,"domContentLoadedEventStart":825,"domContentLoadedEventEnd":867,"domComplete":1276,"loadEventStart":1276,"loadEventEnd":1278,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"e6558e835b5c6f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":37,"dbReadsTimeInMs":10,"dbConnsTimeInMs":12,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Issue was caused due to improper casting done for ClassID fields. ClassID fileds are of integer type in database but value stored in string datatype resulted in SQL Injection.
We have converted this in int which will show error when any user explicitly modify request.